Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001017/0.001017, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001138/0.001138, allocations: 169 kB / 23.02 MB, free: 1.551 MB / 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 0.9828/0.9828, allocations: 177.1 MB / 203.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.272/2.272, allocations: 429.5 MB / 0.6732 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.645e-06/2.645e-06, allocations: 0 / 0.8782 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.188e-05/3.452e-05, allocations: 5.266 kB / 0.8782 GB, free: 6.27 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002338/0.002372, allocations: 0.674 MB / 0.8789 GB, free: 5.613 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001764/0.004136, allocations: 1.229 MB / 0.8801 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.719e-05/0.004193, allocations: 8.844 kB / 0.8801 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.622e-05/0.004229, allocations: 0 / 0.8801 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.674e-05/0.004326, allocations: 18.78 kB / 0.8801 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008653/0.005191, allocations: 204.5 kB / 0.8803 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002841/0.005475, allocations: 176.8 kB / 0.8804 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.005582, allocations: 8 kB / 0.8805 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.00575, allocations: 99.84 kB / 0.8805 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.005893, allocations: 49.03 kB / 0.8806 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.428e-05/0.005938, allocations: 19.94 kB / 0.8806 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.942e-05/0.006037, allocations: 31.98 kB / 0.8806 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.73e-05/0.006064, allocations: 9.016 kB / 0.8807 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.445e-05/0.006149, allocations: 47.95 kB / 0.8807 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002721/0.006421, allocations: 136.4 kB / 0.8808 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.006427, allocations: 4 kB / 0.8808 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.613e-06/0.006428, allocations: 1.594 kB / 0.8808 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.006435, allocations: 0 / 0.8808 GB, free: 3.586 MB / 0.8386 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.0006121/0.007047, allocations: 467.8 kB / 0.8813 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.007099, allocations: 8.031 kB / 0.8813 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.234e-05/0.007191, allocations: 20.89 kB / 0.8813 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.007307, allocations: 110.2 kB / 0.8814 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.932e-05/0.007336, allocations: 8.312 kB / 0.8814 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.721e-05/0.007373, allocations: 12.36 kB / 0.8814 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.00749, allocations: 42.25 kB / 0.8815 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.007504, allocations: 1.25 kB / 0.8815 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.007515, allocations: 384 / 0.8815 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.007526, allocations: 4.312 kB / 0.8815 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.911e-05/0.007565, allocations: 21.02 kB / 0.8815 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005221/0.008087, allocations: 327.7 kB / 0.8818 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.008189, allocations: 43.64 kB / 0.8819 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.126e-05/0.00822, allocations: 11.69 kB / 0.8819 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.899e-06/0.00823, allocations: 4.562 kB / 0.8819 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001566/0.008387, allocations: 90.62 kB / 0.882 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 2.294e-06/0.008389, allocations: 0 / 0.882 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002795/0.008668, allocations: 101.6 kB / 0.882 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.008712, allocations: 51.41 kB / 0.8821 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.008833, allocations: 177 kB / 0.8823 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/0.008862, allocations: 29.7 kB / 0.8823 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.329e-05/0.008945, allocations: 142.8 kB / 0.8824 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.008965, allocations: 15.94 kB / 0.8824 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.009075, allocations: 55.34 kB / 0.8825 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.009241, allocations: 496.1 kB / 0.883 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.00941, allocations: 111.4 kB / 0.8831 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001905/0.009601, allocations: 169.7 kB / 0.8832 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/0.009798, allocations: 167.6 kB / 0.8834 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.009802, allocations: 0.5312 kB / 0.8834 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007922/0.01059, allocations: 325.2 kB / 0.8837 GB, free: 332 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.963e-05/0.01065, allocations: 67.89 kB / 0.8838 GB, free: 252 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.01066, allocations: 8.125 kB / 0.8838 GB, free: 244 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.34e-05/0.01069, allocations: 0 / 0.8838 GB, free: 244 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.804e-05/0.01071, allocations: 4 kB / 0.8838 GB, free: 240 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.01072, allocations: 0 / 0.8838 GB, free: 240 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/0.01097, allocations: 39.91 kB / 0.8838 GB, free: 200 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.343e-05/0.011, allocations: 12 kB / 0.8838 GB, free: 188 kB / 0.8386 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 0.0001128/0.01112, allocations: 176.4 kB / 0.884 GB, free: 0 / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.592e-05/0.01116, allocations: 12.02 kB / 0.884 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.654e-05/0.0112, allocations: 8.438 kB / 0.884 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.0112, allocations: 4 kB / 0.884 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.01121, allocations: 0 / 0.884 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.01121, allocations: 0 / 0.884 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.01133, allocations: 136.5 kB / 0.8842 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.01134, allocations: 0 / 0.8842 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.235e-05/0.01135, allocations: 4 kB / 0.8842 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.01135, allocations: 0 / 0.8842 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.01136, allocations: 3.938 kB / 0.8842 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.01137, allocations: 0 / 0.8842 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.01137, allocations: 0 / 0.8842 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001718/0.01154, allocations: 128.3 kB / 0.8843 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.112e-05/0.01155, allocations: 3.953 kB / 0.8843 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.01157, allocations: 11.92 kB / 0.8843 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.405e-05/0.0116, allocations: 0 / 0.8843 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.067e-05/0.01165, allocations: 11.98 kB / 0.8843 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.01166, allocations: 3.984 kB / 0.8843 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.161e-05/0.01172, allocations: 131.2 kB / 0.8844 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01172, allocations: 0 / 0.8844 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002979/0.01202, allocations: 31.98 kB / 0.8845 GB, free: 15.46 MB / 0.8542 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.000191/0.01221, allocations: 99.25 kB / 0.8846 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004002/0.01261, allocations: 281.8 kB / 0.8848 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.01261, allocations: 0 / 0.8848 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.358e-05/0.01266, allocations: 27.61 kB / 0.8849 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/0.01297, allocations: 16.72 kB / 0.8849 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000436/0.0134, allocations: 162.7 kB / 0.885 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.325e-05/0.01346, allocations: 61.22 kB / 0.8851 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.81e-05/0.0135, allocations: 11.86 kB / 0.8851 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.457e-05/0.01354, allocations: 12.5 kB / 0.8851 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of SimCode: time 1.112e-06/0.01354, allocations: 0 / 0.8851 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.006299/0.01984, allocations: 2.073 MB / 0.8871 GB, free: 12.68 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.813869780860841]