Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 71.75 kB / 20.97 MB, free: 3.578 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 173 kB / 24.28 MB, free: 276 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.036/1.036, allocations: 177.1 MB / 204.6 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.779/1.779, allocations: 359 MB / 0.6055 GB, free: 10.99 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|xor1.u1|xor1.u2|xor1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|xor1.u1|xor1.u2|xor1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.715e-06/2.715e-06, allocations: 0 / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.896e-05/3.168e-05, allocations: 4.219 kB / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001682/0.001714, allocations: 0.6595 MB / 0.7878 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001336/0.00305, allocations: 1.238 MB / 0.789 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.113e-05/0.003101, allocations: 4 kB / 0.789 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.093e-05/0.003132, allocations: 4.438 kB / 0.789 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.011e-05/0.003202, allocations: 12.83 kB / 0.789 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004991/0.003701, allocations: 212.3 kB / 0.7892 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.003889, allocations: 173.1 kB / 0.7894 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.00399, allocations: 11.97 kB / 0.7894 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.004107, allocations: 91.88 kB / 0.7895 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.004213, allocations: 54.94 kB / 0.7895 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.914e-05/0.004242, allocations: 16 kB / 0.7895 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.356e-05/0.004306, allocations: 27.98 kB / 0.7895 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.7e-05/0.004333, allocations: 11.92 kB / 0.7896 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.872e-05/0.004402, allocations: 47.95 kB / 0.7896 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.004588, allocations: 139.6 kB / 0.7897 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.00459, allocations: 0 / 0.7897 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.62e-07/0.004591, allocations: 0 / 0.7897 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.004596, allocations: 5.188 kB / 0.7897 GB, free: 10.11 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000469/0.005065, allocations: 463.8 kB / 0.7902 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.005109, allocations: 8.031 kB / 0.7902 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.202e-05/0.005171, allocations: 17.48 kB / 0.7902 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.563e-05/0.005267, allocations: 121.6 kB / 0.7903 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.005284, allocations: 8.375 kB / 0.7903 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.005307, allocations: 12.38 kB / 0.7903 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.896e-05/0.005406, allocations: 42.72 kB / 0.7904 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.005413, allocations: 192 / 0.7904 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.005426, allocations: 9.109 kB / 0.7904 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.005434, allocations: 384 / 0.7904 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.938e-05/0.005463, allocations: 12.56 kB / 0.7904 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004163/0.00588, allocations: 332.2 kB / 0.7907 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.449e-05/0.005964, allocations: 39.7 kB / 0.7908 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.417e-05/0.005988, allocations: 15.69 kB / 0.7908 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-06/0.005996, allocations: 5.375 kB / 0.7908 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001122/0.006108, allocations: 88.98 kB / 0.7909 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.00611, allocations: 0 / 0.7909 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002161/0.006326, allocations: 103.3 kB / 0.791 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.006363, allocations: 51.41 kB / 0.791 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.494e-05/0.006458, allocations: 181.9 kB / 0.7912 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.006481, allocations: 33.7 kB / 0.7912 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.933e-05/0.006541, allocations: 130.9 kB / 0.7913 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.645e-05/0.006557, allocations: 21.42 kB / 0.7914 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.637e-05/0.006623, allocations: 55.34 kB / 0.7914 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.006743, allocations: 0.4884 MB / 0.7919 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.006857, allocations: 115.4 kB / 0.792 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.006973, allocations: 154.3 kB / 0.7921 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.007101, allocations: 163.5 kB / 0.7923 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.007103, allocations: 3.938 kB / 0.7923 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000308/0.007411, allocations: 322.5 kB / 0.7926 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.116e-05/0.007452, allocations: 67.39 kB / 0.7927 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.007459, allocations: 4 kB / 0.7927 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.007472, allocations: 0 / 0.7927 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.754e-05/0.007489, allocations: 4.531 kB / 0.7927 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.007496, allocations: 4.703 kB / 0.7927 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001729/0.007669, allocations: 34.06 kB / 0.7927 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.007691, allocations: 19.98 kB / 0.7927 GB, free: 6.711 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,xor1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.163e-05/0.007773, allocations: 172.5 kB / 0.7929 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.356e-05/0.007786, allocations: 12.52 kB / 0.7929 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.312e-05/0.00781, allocations: 8.438 kB / 0.7929 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.007813, allocations: 5.141 kB / 0.7929 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.007819, allocations: 7.984 kB / 0.7929 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.007822, allocations: 0 / 0.7929 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.476e-05/0.007907, allocations: 121.3 kB / 0.7931 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.007909, allocations: 4.062 kB / 0.7931 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.254e-06/0.007917, allocations: 8.656 kB / 0.7931 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.007918, allocations: 0 / 0.7931 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.007926, allocations: 4.781 kB / 0.7931 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.007928, allocations: 0 / 0.7931 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.007929, allocations: 5.891 kB / 0.7931 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001141/0.008043, allocations: 128.2 kB / 0.7932 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.624e-06/0.008051, allocations: 3.953 kB / 0.7932 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.008065, allocations: 11.94 kB / 0.7932 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.11e-05/0.008076, allocations: 0 / 0.7932 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.008116, allocations: 4.703 kB / 0.7932 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.008121, allocations: 4 kB / 0.7932 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.343e-05/0.008174, allocations: 137.5 kB / 0.7934 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.008174, allocations: 0 / 0.7934 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001599/0.008334, allocations: 28 kB / 0.7934 GB, free: 6 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,xor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001406/0.008475, allocations: 99.25 kB / 0.7935 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002639/0.008739, allocations: 279.7 kB / 0.7937 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.008741, allocations: 0 / 0.7937 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.715e-05/0.008778, allocations: 35.61 kB / 0.7938 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001704/0.008948, allocations: 15.11 kB / 0.7938 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002764/0.009225, allocations: 164 kB / 0.7939 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.426e-05/0.009259, allocations: 59.34 kB / 0.794 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.288e-05/0.009282, allocations: 5.844 kB / 0.794 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.967e-05/0.009302, allocations: 12.5 kB / 0.794 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of SimCode: time 7.81e-07/0.009302, allocations: 0 / 0.794 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of Templates: time 0.003489/0.01279, allocations: 2.073 MB / 0.796 GB, free: 3.242 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Xor.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.236121736001223]