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.006268/0.006268, allocations: 98.45 kB / 15.73 MB, free: 6.066 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.001097/0.001097, allocations: 195.9 kB / 16.68 MB, free: 5.973 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.327/2.327, allocations: 390.2 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 63.91 kB / 0.9509 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.13/1.132, allocations: 140.4 MB / 1.088 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002124/1.134, allocations: 0.6693 MB / 1.089 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001725/1.135, allocations: 1.188 MB / 1.09 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.816e-05/1.136, allocations: 1.094 kB / 1.09 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.184e-05/1.136, allocations: 4.453 kB / 1.09 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.217e-05/1.136, allocations: 20.2 kB / 1.09 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007588/1.136, allocations: 216 kB / 1.09 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003091/1.137, allocations: 184.2 kB / 1.09 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/1.137, allocations: 11.22 kB / 1.09 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/1.137, allocations: 68.16 kB / 1.09 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001657/1.137, allocations: 66.12 kB / 1.09 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.151e-05/1.137, allocations: 15.72 kB / 1.09 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/1.137, allocations: 34.02 kB / 1.09 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.994e-05/1.137, allocations: 9.188 kB / 1.09 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001164/1.137, allocations: 56.73 kB / 1.09 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003046/1.138, allocations: 153.6 kB / 1.091 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/1.138, allocations: 0 / 1.091 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.105e-06/1.138, allocations: 0 / 1.091 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.155e-06/1.138, allocations: 1.156 kB / 1.091 GB, free: 3.918 MB / 0.8575 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.0005106/1.138, allocations: 428.9 kB / 1.091 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/1.138, allocations: 10.3 kB / 1.091 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.526e-05/1.138, allocations: 15.78 kB / 1.091 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/1.139, allocations: 176.5 kB / 1.091 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/1.139, allocations: 4.672 kB / 1.091 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.052e-05/1.139, allocations: 14.44 kB / 1.091 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/1.139, allocations: 46.19 kB / 1.091 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/1.139, allocations: 4.641 kB / 1.091 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/1.139, allocations: 5.734 kB / 1.091 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/1.139, allocations: 0.8125 kB / 1.091 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.402e-05/1.139, allocations: 21.86 kB / 1.091 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004997/1.139, allocations: 351.4 kB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.356e-05/1.139, allocations: 40.08 kB / 1.092 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.498e-05/1.14, allocations: 21.34 kB / 1.092 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.655e-06/1.14, allocations: 0.5 kB / 1.092 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001809/1.14, allocations: 82.47 kB / 1.092 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/1.14, allocations: 0 / 1.092 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0002848/1.14, allocations: 109 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/1.14, allocations: 57.59 kB / 1.092 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.571e-05/1.14, allocations: 120.6 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/1.14, allocations: 29.77 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.514e-05/1.14, allocations: 94.14 kB / 1.092 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/1.14, allocations: 12.16 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/1.14, allocations: 48.88 kB / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.403e-05/1.14, allocations: 318.3 kB / 1.092 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/1.141, allocations: 63.98 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/1.141, allocations: 97.52 kB / 1.093 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/1.141, allocations: 160 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.141, allocations: 0 / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004634/1.141, allocations: 266.8 kB / 1.093 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.379e-05/1.142, allocations: 67.72 kB / 1.093 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/1.142, allocations: 1.938 kB / 1.093 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/1.142, allocations: 2.781 kB / 1.093 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.671e-05/1.142, allocations: 6.484 kB / 1.093 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/1.142, allocations: 1.922 kB / 1.093 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000374/1.142, allocations: 63.89 kB / 1.093 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.612e-05/1.142, allocations: 16.42 kB / 1.093 GB, free: 1.625 MB / 0.8575 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 9.806e-05/1.142, allocations: 125.3 kB / 1.093 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.467e-05/1.142, allocations: 2.953 kB / 1.093 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.498e-05/1.142, allocations: 6.75 kB / 1.093 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/1.142, allocations: 1.375 kB / 1.093 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/1.142, allocations: 4.875 kB / 1.093 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/1.142, allocations: 0.5625 kB / 1.093 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001451/1.142, allocations: 184.1 kB / 1.093 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/1.142, allocations: 0 / 1.093 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.228e-05/1.142, allocations: 2.266 kB / 1.093 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/1.142, allocations: 5.547 kB / 1.094 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/1.142, allocations: 0.6562 kB / 1.094 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/1.142, allocations: 1.422 kB / 1.094 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/1.142, allocations: 0.875 kB / 1.094 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/1.143, allocations: 119.6 kB / 1.094 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.529e-05/1.143, allocations: 84.39 kB / 1.094 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/1.143, allocations: 1.984 kB / 1.094 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.202e-05/1.143, allocations: 4.719 kB / 1.094 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.262e-05/1.143, allocations: 10.84 kB / 1.094 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/1.143, allocations: 8.078 kB / 1.094 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.076e-05/1.143, allocations: 89.64 kB / 1.094 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/1.143, allocations: 0 / 1.094 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002661/1.143, allocations: 31.7 kB / 1.094 GB, free: 1 MB / 0.8575 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.0002001/1.143, allocations: 110.6 kB / 1.094 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004018/1.144, allocations: 249.1 kB / 1.094 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/1.144, allocations: 0 / 1.094 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.872e-05/1.144, allocations: 31.48 kB / 1.094 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/1.144, allocations: 16.52 kB / 1.094 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003576/1.144, allocations: 164.2 kB / 1.094 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/1.145, allocations: 0.686 MB / 1.095 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.96e-05/1.145, allocations: 4.906 kB / 1.095 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.664e-05/1.145, allocations: 11.78 kB / 1.095 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of SimCode: time 1.713e-06/1.145, allocations: 3.938 kB / 1.095 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of Templates: time 0.005778/1.151, allocations: 1.86 MB / 1.097 GB, free: 15.68 MB / 0.8731 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