Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001115/0.001115, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.008742/0.008742, allocations: 170.9 kB / 16.26 MB, free: 6.613 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.47/1.47, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.488/2.488, allocations: 390.9 MB / 0.6663 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004629/0.0004632, allocations: 8 kB / 0.816 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8191/0.8196, allocations: 142.4 MB / 0.9551 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001099/0.8208, allocations: 389.4 kB / 0.9554 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002085/0.8229, allocations: 1.201 MB / 0.9566 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.83e-05/0.823, allocations: 1.031 kB / 0.9566 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.132e-05/0.823, allocations: 0 / 0.9566 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.8231, allocations: 13.89 kB / 0.9566 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008061/0.8239, allocations: 194.9 kB / 0.9568 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002626/0.8242, allocations: 154.8 kB / 0.957 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.8243, allocations: 11.69 kB / 0.957 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001637/0.8245, allocations: 59.67 kB / 0.957 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.8246, allocations: 50.05 kB / 0.9571 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.173e-05/0.8247, allocations: 8.281 kB / 0.9571 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.8248, allocations: 22.2 kB / 0.9571 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.593e-05/0.8249, allocations: 7.266 kB / 0.9571 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.825, allocations: 80.36 kB / 0.9572 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002696/0.8253, allocations: 142.5 kB / 0.9573 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.8253, allocations: 0 / 0.9573 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.046e-06/0.8253, allocations: 0 / 0.9573 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.333e-06/0.8253, allocations: 5.094 kB / 0.9573 GB, free: 6.031 MB / 0.7169 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.0005614/0.8259, allocations: 411 kB / 0.9577 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.687e-05/0.8259, allocations: 9.594 kB / 0.9577 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.958e-05/0.826, allocations: 12.72 kB / 0.9577 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.8262, allocations: 174.7 kB / 0.9579 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.254e-05/0.8262, allocations: 5.438 kB / 0.9579 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.847e-05/0.8262, allocations: 8.812 kB / 0.9579 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.8264, allocations: 52.14 kB / 0.958 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.8264, allocations: 192 / 0.958 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.8265, allocations: 8.969 kB / 0.958 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.8265, allocations: 0 / 0.958 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.642e-05/0.8265, allocations: 17.27 kB / 0.958 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005425/0.8271, allocations: 356.1 kB / 0.9583 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.822e-05/0.8272, allocations: 36.67 kB / 0.9584 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.464e-05/0.8272, allocations: 18.72 kB / 0.9584 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.8272, allocations: 10.05 kB / 0.9584 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001947/0.8274, allocations: 88.53 kB / 0.9585 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.8275, allocations: 0 / 0.9585 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003042/0.8278, allocations: 103.6 kB / 0.9586 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.8278, allocations: 56.58 kB / 0.9586 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.809e-05/0.8279, allocations: 115.1 kB / 0.9587 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.672e-05/0.828, allocations: 33.8 kB / 0.9588 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.196e-05/0.828, allocations: 96.67 kB / 0.9589 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.8281, allocations: 14.17 kB / 0.9589 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.269e-05/0.8281, allocations: 22.03 kB / 0.9589 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.803e-05/0.8282, allocations: 324.2 kB / 0.9592 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.8284, allocations: 63.62 kB / 0.9593 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.8285, allocations: 90.06 kB / 0.9594 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001884/0.8287, allocations: 161.5 kB / 0.9595 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.8287, allocations: 0 / 0.9595 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004807/0.8292, allocations: 254.5 kB / 0.9598 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.902e-05/0.8293, allocations: 69.61 kB / 0.9598 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.8293, allocations: 5.375 kB / 0.9598 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.548e-05/0.8293, allocations: 1.375 kB / 0.9598 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.037e-05/0.8294, allocations: 6.75 kB / 0.9598 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.8294, allocations: 9.297 kB / 0.9598 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004896/0.8299, allocations: 82.59 kB / 0.9599 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.646e-05/0.8299, allocations: 13.61 kB / 0.9599 GB, free: 3.555 MB / 0.7169 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.0001196/0.8301, allocations: 122 kB / 0.96 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.893e-05/0.8301, allocations: 10.66 kB / 0.9601 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.014e-05/0.8301, allocations: 9.75 kB / 0.9601 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.8301, allocations: 1.375 kB / 0.9601 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.8302, allocations: 0 / 0.9601 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.8302, allocations: 64 / 0.9601 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.8303, allocations: 193.9 kB / 0.9603 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.8303, allocations: 0 / 0.9603 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.085e-05/0.8303, allocations: 1.375 kB / 0.9603 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.8303, allocations: 1.375 kB / 0.9603 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.8304, allocations: 3.984 kB / 0.9603 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.8304, allocations: 1.375 kB / 0.9603 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.8304, allocations: 0 / 0.9603 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001671/0.8305, allocations: 116.7 kB / 0.9604 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.033e-05/0.8306, allocations: 82.39 kB / 0.9605 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.8306, allocations: 1.375 kB / 0.9605 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.202e-05/0.8306, allocations: 1.375 kB / 0.9605 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.983e-05/0.8307, allocations: 12.11 kB / 0.9605 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.8307, allocations: 2.75 kB / 0.9605 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.134e-05/0.8308, allocations: 90.14 kB / 0.9606 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8308, allocations: 0 / 0.9606 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002705/0.831, allocations: 35.5 kB / 0.9606 GB, free: 2.895 MB / 0.7169 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.0002023/0.8312, allocations: 98.5 kB / 0.9607 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003553/0.8316, allocations: 255 kB / 0.9609 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.8316, allocations: 0 / 0.9609 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.954e-05/0.8317, allocations: 28.38 kB / 0.961 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.832, allocations: 22.02 kB / 0.961 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000372/0.8323, allocations: 164.5 kB / 0.9611 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000142/0.8325, allocations: 0.6884 MB / 0.9618 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.357e-05/0.8325, allocations: 7.562 kB / 0.9618 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.362e-05/0.8326, allocations: 20.09 kB / 0.9618 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of SimCode: time 4.6e-07/0.8326, allocations: 3.938 kB / 0.9618 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of Templates: time 0.005339/0.8379, allocations: 1.773 MB / 0.9636 GB, free: 0.8047 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Xor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches