Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.006105/0.006105, allocations: 100.7 kB / 15.73 MB, free: 6 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.001322/0.001322, allocations: 188.1 kB / 16.67 MB, free: 5.914 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.747/2.747, allocations: 469.8 MB / 0.7425 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 63.89 kB / 1.065 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9322/0.9337, allocations: 159.1 MB / 1.221 GB, free: 2.117 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.00186/0.9356, allocations: 0.6509 MB / 1.221 GB, free: 1.469 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001563/0.9371, allocations: 1.19 MB / 1.222 GB, free: 272 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.398e-05/0.9372, allocations: 4 kB / 1.222 GB, free: 268 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.017e-05/0.9372, allocations: 3.938 kB / 1.222 GB, free: 264 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.736e-05/0.9373, allocations: 15.91 kB / 1.222 GB, free: 248 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000762/0.9381, allocations: 218.4 kB / 1.223 GB, free: 36 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002554/0.9383, allocations: 175.7 kB / 1.223 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.9384, allocations: 15.89 kB / 1.223 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.361e-05/0.9385, allocations: 67.89 kB / 1.223 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.9387, allocations: 59.84 kB / 1.223 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.151e-05/0.9387, allocations: 16 kB / 1.223 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 7.93e-05/0.9388, allocations: 31.98 kB / 1.223 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.276e-05/0.9388, allocations: 7.984 kB / 1.223 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 7.905e-05/0.9389, allocations: 59.81 kB / 1.223 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.9391, allocations: 156.1 kB / 1.223 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.9391, allocations: 0 / 1.223 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.212e-06/0.9391, allocations: 0 / 1.223 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.9391, allocations: 7.938 kB / 1.223 GB, free: 15.45 MB / 0.9512 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.0005951/0.9397, allocations: 434.7 kB / 1.224 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.9397, allocations: 12.03 kB / 1.224 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.555e-05/0.9398, allocations: 12.89 kB / 1.224 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.9399, allocations: 168.3 kB / 1.224 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.94, allocations: 8.359 kB / 1.224 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.505e-05/0.94, allocations: 16.38 kB / 1.224 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.9401, allocations: 42.25 kB / 1.224 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.9401, allocations: 192 / 1.224 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.9401, allocations: 7.938 kB / 1.224 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.9401, allocations: 4 kB / 1.224 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.426e-05/0.9402, allocations: 19.98 kB / 1.224 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005976/0.9408, allocations: 348.7 kB / 1.224 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 9.34e-05/0.9409, allocations: 42.5 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.966e-05/0.9409, allocations: 12.86 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.9409, allocations: 4 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000317/0.9413, allocations: 91.38 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.9413, allocations: 0 / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0002549/0.9415, allocations: 101.6 kB / 1.224 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.9416, allocations: 55.41 kB / 1.225 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.755e-05/0.9417, allocations: 113.8 kB / 1.225 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.562e-05/0.9417, allocations: 33.7 kB / 1.225 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.957e-05/0.9418, allocations: 100.1 kB / 1.225 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.686e-05/0.9418, allocations: 11.91 kB / 1.225 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.685e-05/0.9419, allocations: 49.69 kB / 1.225 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.942, allocations: 322.8 kB / 1.225 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.9421, allocations: 67.84 kB / 1.225 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.9423, allocations: 96.62 kB / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001996/0.9425, allocations: 159.7 kB / 1.225 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.9425, allocations: 0 / 1.225 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004813/0.943, allocations: 260.9 kB / 1.226 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.252e-05/0.9431, allocations: 67.39 kB / 1.226 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.9431, allocations: 8.125 kB / 1.226 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.9431, allocations: 0 / 1.226 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.295e-05/0.9431, allocations: 4.062 kB / 1.226 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.9431, allocations: 7.938 kB / 1.226 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003248/0.9435, allocations: 55.83 kB / 1.226 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.211e-05/0.9435, allocations: 15.98 kB / 1.226 GB, free: 12.45 MB / 0.9512 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.0001048/0.9436, allocations: 125.8 kB / 1.226 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.406e-05/0.9436, allocations: 11.94 kB / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.132e-05/0.9436, allocations: 12.38 kB / 1.226 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.9436, allocations: 0 / 1.226 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.9436, allocations: 0 / 1.226 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.9437, allocations: 0 / 1.226 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.9438, allocations: 181.6 kB / 1.226 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.9438, allocations: 0 / 1.226 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.735e-06/0.9438, allocations: 0 / 1.226 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.9438, allocations: 4 kB / 1.226 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.9438, allocations: 4 kB / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.9438, allocations: 0 / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.9438, allocations: 0 / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/0.944, allocations: 116.9 kB / 1.226 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.531e-05/0.944, allocations: 77.11 kB / 1.226 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.944, allocations: 8 kB / 1.226 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.287e-05/0.9441, allocations: 3.984 kB / 1.226 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.344e-05/0.9441, allocations: 4 kB / 1.226 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.9441, allocations: 11.98 kB / 1.226 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.656e-05/0.9442, allocations: 95.2 kB / 1.226 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.9442, allocations: 0 / 1.226 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002317/0.9444, allocations: 28 kB / 1.226 GB, free: 11.68 MB / 0.9512 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.0001694/0.9446, allocations: 119.1 kB / 1.227 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003914/0.945, allocations: 226.6 kB / 1.227 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.945, allocations: 256 / 1.227 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.629e-05/0.945, allocations: 23.94 kB / 1.227 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.9453, allocations: 15.98 kB / 1.227 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003578/0.9456, allocations: 166.6 kB / 1.227 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.9459, allocations: 0.6807 MB / 1.228 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.562e-05/0.9459, allocations: 4 kB / 1.228 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.772e-05/0.9459, allocations: 15.44 kB / 1.228 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of SimCode: time 6.51e-07/0.9459, allocations: 0 / 1.228 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of Templates: time 0.004789/0.9507, allocations: 1.869 MB / 1.23 GB, free: 8.512 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Xor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches