Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|xor1.u1|xor1.u2|xor1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|xor1.u1|xor1.u2|xor1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 108.5 kB / 16.41 MB, free: 6.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001691/0.001691, allocations: 192.3 kB / 17.35 MB, free: 5.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.548/2.548, allocations: 437 MB / 0.7112 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 67.91 kB / 1.019 GB, free: 9.359 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.039/1.041, allocations: 151.6 MB / 1.167 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002137/1.043, allocations: 0.6779 MB / 1.168 GB, free: 3.141 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001637/1.045, allocations: 1.185 MB / 1.169 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.541e-05/1.045, allocations: 0 / 1.169 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.33e-05/1.045, allocations: 3.938 kB / 1.169 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.603e-05/1.045, allocations: 19.86 kB / 1.169 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007985/1.046, allocations: 221.7 kB / 1.169 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003007/1.046, allocations: 183.7 kB / 1.17 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/1.046, allocations: 11.98 kB / 1.17 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/1.046, allocations: 67.89 kB / 1.17 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/1.046, allocations: 63.84 kB / 1.17 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.535e-05/1.046, allocations: 16 kB / 1.17 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.054e-05/1.047, allocations: 31.98 kB / 1.17 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.414e-05/1.047, allocations: 11.98 kB / 1.17 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 9.787e-05/1.047, allocations: 59.81 kB / 1.17 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002455/1.047, allocations: 151.1 kB / 1.17 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/1.047, allocations: 0 / 1.17 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of FrontEnd: time 5.15e-06/1.047, allocations: 0 / 1.17 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.61e-06/1.047, allocations: 3.938 kB / 1.17 GB, free: 1.121 MB / 0.8887 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.0006355/1.048, allocations: 443.6 kB / 1.17 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/1.048, allocations: 8.922 kB / 1.17 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.692e-05/1.048, allocations: 12.89 kB / 1.17 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/1.048, allocations: 172.3 kB / 1.171 GB, free: 408 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.75e-05/1.048, allocations: 12.36 kB / 1.171 GB, free: 396 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.032e-05/1.048, allocations: 8.375 kB / 1.171 GB, free: 388 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/1.048, allocations: 46.25 kB / 1.171 GB, free: 336 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/1.048, allocations: 4.125 kB / 1.171 GB, free: 332 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/1.048, allocations: 7.938 kB / 1.171 GB, free: 324 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/1.048, allocations: 0 / 1.171 GB, free: 324 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.11e-05/1.048, allocations: 19.98 kB / 1.171 GB, free: 304 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006109/1.049, allocations: 352.8 kB / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 8.813e-05/1.049, allocations: 34.5 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.546e-05/1.049, allocations: 16.86 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/1.049, allocations: 3.938 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002032/1.049, allocations: 87.44 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/1.049, allocations: 0 / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0002501/1.049, allocations: 105.6 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/1.05, allocations: 55.41 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.408e-05/1.05, allocations: 117.8 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/1.05, allocations: 29.7 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.342e-05/1.05, allocations: 96.08 kB / 1.172 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.848e-05/1.05, allocations: 19.89 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.246e-05/1.05, allocations: 49.69 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001325/1.05, allocations: 326.8 kB / 1.172 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/1.05, allocations: 55.97 kB / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/1.05, allocations: 92.25 kB / 1.172 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001985/1.05, allocations: 156.1 kB / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/1.051, allocations: 7.938 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004245/1.051, allocations: 256.9 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.102e-05/1.051, allocations: 71.39 kB / 1.172 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/1.051, allocations: 8 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/1.051, allocations: 0 / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.606e-05/1.051, allocations: 8.062 kB / 1.173 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/1.051, allocations: 4 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003503/1.051, allocations: 55.83 kB / 1.173 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.99e-05/1.051, allocations: 19.98 kB / 1.173 GB, free: 14.11 MB / 0.9044 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.0001161/1.052, allocations: 124 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.881e-05/1.052, allocations: 7.938 kB / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.584e-05/1.052, allocations: 16.38 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/1.052, allocations: 0 / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/1.052, allocations: 0 / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.36e-05/1.052, allocations: 81.09 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/1.052, allocations: 4 kB / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.333e-05/1.052, allocations: 3.938 kB / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.244e-05/1.052, allocations: 11.98 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001656/1.052, allocations: 157.2 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002043/1.052, allocations: 262.8 kB / 1.173 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.427e-05/1.052, allocations: 27.98 kB / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.345e-05/1.052, allocations: 95.2 kB / 1.173 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of Backend: time 3.11e-07/1.052, allocations: 0 / 1.173 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006599/1.053, allocations: 301.2 kB / 1.174 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of SimCode: time 0.00059/1.054, allocations: 0.6086 MB / 1.174 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of Templates: time 0.004964/1.059, allocations: 1.905 MB / 1.176 GB, free: 10.42 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Xor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches