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.006809/0.006809, allocations: 94.77 kB / 15.73 MB, free: 6.039 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.001306/0.001307, allocations: 198.2 kB / 16.68 MB, free: 5.969 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.522/1.522, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.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.783/2.783, allocations: 437 MB / 0.7105 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 67.89 kB / 1.019 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.3618, allocations: 151.6 MB / 1.167 GB, free: 6.828 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002102/0.364, allocations: 0.6659 MB / 1.167 GB, free: 6.16 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001722/0.3657, allocations: 1.187 MB / 1.168 GB, free: 4.957 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.723e-05/0.3658, allocations: 4 kB / 1.168 GB, free: 4.953 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.12e-05/0.3658, allocations: 3.938 kB / 1.168 GB, free: 4.949 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.378e-05/0.366, allocations: 19.84 kB / 1.168 GB, free: 4.93 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006898/0.3667, allocations: 210.9 kB / 1.169 GB, free: 4.73 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002453/0.3669, allocations: 187.8 kB / 1.169 GB, free: 4.547 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.367, allocations: 12 kB / 1.169 GB, free: 4.535 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.3671, allocations: 71.88 kB / 1.169 GB, free: 4.465 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.3673, allocations: 63.83 kB / 1.169 GB, free: 4.402 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.81e-05/0.3673, allocations: 19.94 kB / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.239e-05/0.3674, allocations: 31.94 kB / 1.169 GB, free: 4.352 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.043e-05/0.3674, allocations: 3.984 kB / 1.169 GB, free: 4.348 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.151e-05/0.3675, allocations: 63.81 kB / 1.169 GB, free: 4.285 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.3677, allocations: 147.6 kB / 1.169 GB, free: 4.141 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3678, allocations: 0 / 1.169 GB, free: 4.141 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.525e-06/0.3678, allocations: 0 / 1.169 GB, free: 4.141 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.959e-06/0.3678, allocations: 4 kB / 1.169 GB, free: 4.137 MB / 0.92 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.000548/0.3683, allocations: 434.7 kB / 1.17 GB, free: 3.648 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.3684, allocations: 12.03 kB / 1.17 GB, free: 3.637 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.045e-05/0.3684, allocations: 12.89 kB / 1.17 GB, free: 3.625 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.3686, allocations: 172.2 kB / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.3686, allocations: 4.375 kB / 1.17 GB, free: 3.414 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.141e-05/0.3686, allocations: 16.36 kB / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.3688, allocations: 50.19 kB / 1.17 GB, free: 3.344 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.3688, allocations: 192 / 1.17 GB, free: 3.344 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.3688, allocations: 11.92 kB / 1.17 GB, free: 3.332 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.3688, allocations: 7.938 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.012e-05/0.3689, allocations: 12 kB / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004914/0.3694, allocations: 352.8 kB / 1.17 GB, free: 2.918 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.703e-05/0.3695, allocations: 46.44 kB / 1.17 GB, free: 2.863 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.97e-05/0.3695, allocations: 16.86 kB / 1.17 GB, free: 2.844 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.3695, allocations: 0 / 1.17 GB, free: 2.844 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001916/0.3697, allocations: 83.45 kB / 1.17 GB, free: 2.75 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.3697, allocations: 0 / 1.17 GB, free: 2.75 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0002645/0.37, allocations: 105.6 kB / 1.171 GB, free: 2.641 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.753e-05/0.3701, allocations: 55.39 kB / 1.171 GB, free: 2.574 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.738e-05/0.3702, allocations: 117.8 kB / 1.171 GB, free: 2.449 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.787e-05/0.3702, allocations: 37.69 kB / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.29e-05/0.3703, allocations: 96.09 kB / 1.171 GB, free: 2.309 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.787e-05/0.3703, allocations: 11.84 kB / 1.171 GB, free: 2.297 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.339e-05/0.3704, allocations: 49.69 kB / 1.171 GB, free: 2.242 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.3706, allocations: 330.8 kB / 1.171 GB, free: 1.91 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.3707, allocations: 55.97 kB / 1.171 GB, free: 1.855 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.3709, allocations: 96.25 kB / 1.171 GB, free: 1.746 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/0.3711, allocations: 160 kB / 1.171 GB, free: 1.562 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3711, allocations: 0 / 1.171 GB, free: 1.562 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004408/0.3715, allocations: 256.9 kB / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 6.11e-05/0.3716, allocations: 67.39 kB / 1.172 GB, free: 1.215 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/0.3716, allocations: 4.188 kB / 1.172 GB, free: 1.211 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.3717, allocations: 11.94 kB / 1.172 GB, free: 1.199 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.806e-05/0.3717, allocations: 8 kB / 1.172 GB, free: 1.191 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.3717, allocations: 3.984 kB / 1.172 GB, free: 1.188 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003303/0.372, allocations: 51.89 kB / 1.172 GB, free: 1.137 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.938e-05/0.3721, allocations: 8 kB / 1.172 GB, free: 1.129 MB / 0.92 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.0001167/0.3722, allocations: 129.8 kB / 1.172 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.667e-05/0.3722, allocations: 11.95 kB / 1.172 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.504e-05/0.3723, allocations: 4.375 kB / 1.172 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.3723, allocations: 4 kB / 1.172 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.3723, allocations: 0 / 1.172 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.3723, allocations: 3.938 kB / 1.172 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.3725, allocations: 189.5 kB / 1.172 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3725, allocations: 0 / 1.172 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.175e-06/0.3725, allocations: 0 / 1.172 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3725, allocations: 0 / 1.172 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.3725, allocations: 8 kB / 1.172 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3725, allocations: 0 / 1.172 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3725, allocations: 0 / 1.172 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001476/0.3727, allocations: 113 kB / 1.172 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.724e-05/0.3727, allocations: 81.05 kB / 1.172 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.3728, allocations: 3.984 kB / 1.172 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.105e-05/0.3728, allocations: 4 kB / 1.172 GB, free: 500 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.246e-05/0.3728, allocations: 8 kB / 1.172 GB, free: 492 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.3729, allocations: 7.984 kB / 1.172 GB, free: 484 kB / 0.92 GB Notification: Performance of sorting global known variables: time 5.026e-05/0.3729, allocations: 95.16 kB / 1.173 GB, free: 388 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3729, allocations: 0 / 1.173 GB, free: 388 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002502/0.3732, allocations: 32 kB / 1.173 GB, free: 356 kB / 0.92 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.000182/0.3734, allocations: 103.2 kB / 1.173 GB, free: 244 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003796/0.3738, allocations: 250.6 kB / 1.173 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3738, allocations: 256 / 1.173 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.053e-05/0.3738, allocations: 31.97 kB / 1.173 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.3741, allocations: 18.41 kB / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000365/0.3745, allocations: 162.5 kB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.3747, allocations: 0.6807 MB / 1.174 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.893e-05/0.3748, allocations: 11.98 kB / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.11e-05/0.3748, allocations: 11.44 kB / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of SimCode: time 6.21e-07/0.3748, allocations: 0 / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of Templates: time 0.004629/0.3795, allocations: 1.869 MB / 1.176 GB, free: 13.16 MB / 0.9356 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/jenkins/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