Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00191/0.00191, allocations: 81.42 kB / 19.18 MB, free: 2.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002427/0.002427, allocations: 167.6 kB / 22.46 MB, free: 5.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.533/1.533, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.971/2.971, allocations: 389 MB / 0.633 GB, free: 1.004 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|xor1.u1|xor1.u2|xor1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|xor1.u1|xor1.u2|xor1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.665e-06/2.665e-06, allocations: 0 / 1 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.199e-05/3.465e-05, allocations: 5.797 kB / 1 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002005/0.00204, allocations: 0.6589 MB / 1.001 GB, free: 6.633 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002088/0.004127, allocations: 1.209 MB / 1.002 GB, free: 5.41 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.317e-05/0.004181, allocations: 4 kB / 1.002 GB, free: 5.406 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.752e-05/0.004218, allocations: 3.938 kB / 1.002 GB, free: 5.402 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.004323, allocations: 11.88 kB / 1.002 GB, free: 5.391 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007729/0.005096, allocations: 222.7 kB / 1.002 GB, free: 5.18 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002578/0.005353, allocations: 171.7 kB / 1.002 GB, free: 5.012 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.861e-05/0.005452, allocations: 4 kB / 1.002 GB, free: 5.008 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001967/0.005649, allocations: 103.9 kB / 1.002 GB, free: 4.906 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.005797, allocations: 55.89 kB / 1.003 GB, free: 4.852 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.626e-05/0.005843, allocations: 16 kB / 1.003 GB, free: 4.836 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 8.212e-05/0.005926, allocations: 20 kB / 1.003 GB, free: 4.816 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.184e-05/0.005957, allocations: 15.92 kB / 1.003 GB, free: 4.801 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.00606, allocations: 51.89 kB / 1.003 GB, free: 4.75 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002894/0.006349, allocations: 183.5 kB / 1.003 GB, free: 4.57 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.006354, allocations: 0 / 1.003 GB, free: 4.57 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.262e-06/0.006356, allocations: 0 / 1.003 GB, free: 4.57 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.00636, allocations: 0 / 1.003 GB, free: 4.57 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.0005892/0.006949, allocations: 361.6 kB / 1.003 GB, free: 4.172 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.006988, allocations: 16.03 kB / 1.003 GB, free: 4.156 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.252e-05/0.00705, allocations: 8.891 kB / 1.003 GB, free: 4.148 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.007171, allocations: 117.6 kB / 1.003 GB, free: 4.008 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.007194, allocations: 8.375 kB / 1.003 GB, free: 4 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.153e-05/0.007225, allocations: 8.375 kB / 1.003 GB, free: 3.992 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.007347, allocations: 50.23 kB / 1.003 GB, free: 3.938 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.007358, allocations: 4.172 kB / 1.003 GB, free: 3.934 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.00737, allocations: 8.312 kB / 1.003 GB, free: 3.926 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.007374, allocations: 384 / 1.003 GB, free: 3.926 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.078e-05/0.007425, allocations: 19.92 kB / 1.003 GB, free: 3.906 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004911/0.007916, allocations: 272.5 kB / 1.004 GB, free: 3.609 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.008023, allocations: 38.56 kB / 1.004 GB, free: 3.562 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.128e-05/0.008054, allocations: 12.86 kB / 1.004 GB, free: 3.547 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.008068, allocations: 3.938 kB / 1.004 GB, free: 3.543 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000199/0.008267, allocations: 87.36 kB / 1.004 GB, free: 3.445 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.008268, allocations: 0 / 1.004 GB, free: 3.445 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0002871/0.008555, allocations: 101.7 kB / 1.004 GB, free: 3.34 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.905e-05/0.008614, allocations: 51.41 kB / 1.004 GB, free: 3.277 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.008746, allocations: 125.7 kB / 1.004 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.553e-05/0.008802, allocations: 33.7 kB / 1.004 GB, free: 3.105 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.105e-05/0.008883, allocations: 92.12 kB / 1.004 GB, free: 3.012 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.008908, allocations: 27.77 kB / 1.004 GB, free: 2.984 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.009014, allocations: 45.69 kB / 1.004 GB, free: 2.934 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001913/0.009205, allocations: 318.8 kB / 1.005 GB, free: 2.613 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/0.009393, allocations: 119.4 kB / 1.005 GB, free: 2.484 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000219/0.009612, allocations: 151.7 kB / 1.005 GB, free: 2.309 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002342/0.009846, allocations: 160.1 kB / 1.005 GB, free: 2.125 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.00985, allocations: 11.94 kB / 1.005 GB, free: 2.113 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005351/0.01039, allocations: 324.2 kB / 1.005 GB, free: 1.766 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 7.915e-05/0.01046, allocations: 71.39 kB / 1.005 GB, free: 1.684 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.01047, allocations: 0 / 1.005 GB, free: 1.684 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.759e-05/0.0105, allocations: 4.047 kB / 1.005 GB, free: 1.68 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.073e-05/0.01054, allocations: 11.94 kB / 1.005 GB, free: 1.668 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.01055, allocations: 0 / 1.005 GB, free: 1.668 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004016/0.01095, allocations: 56.06 kB / 1.005 GB, free: 1.613 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.788e-05/0.01099, allocations: 15.98 kB / 1.005 GB, free: 1.598 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.000144/0.01113, allocations: 117.8 kB / 1.006 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.648e-05/0.01115, allocations: 7.891 kB / 1.006 GB, free: 1.465 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.21e-05/0.01118, allocations: 12.44 kB / 1.006 GB, free: 1.453 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.01118, allocations: 0 / 1.006 GB, free: 1.453 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.01119, allocations: 0 / 1.006 GB, free: 1.453 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.01119, allocations: 0 / 1.006 GB, free: 1.453 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.01134, allocations: 125.3 kB / 1.006 GB, free: 1.301 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.01134, allocations: 4 kB / 1.006 GB, free: 1.297 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.075e-05/0.01135, allocations: 3.938 kB / 1.006 GB, free: 1.293 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.01136, allocations: 7.938 kB / 1.006 GB, free: 1.285 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.01137, allocations: 0 / 1.006 GB, free: 1.285 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.01137, allocations: 0 / 1.006 GB, free: 1.285 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01137, allocations: 0 / 1.006 GB, free: 1.285 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002032/0.01158, allocations: 109.4 kB / 1.006 GB, free: 1.16 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.444e-05/0.01159, allocations: 11.89 kB / 1.006 GB, free: 1.148 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.01161, allocations: 7.922 kB / 1.006 GB, free: 1.141 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.44e-05/0.01163, allocations: 4 kB / 1.006 GB, free: 1.137 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.258e-05/0.01169, allocations: 7.984 kB / 1.006 GB, free: 1.129 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.73e-06/0.01169, allocations: 8 kB / 1.006 GB, free: 1.121 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.843e-05/0.01175, allocations: 91.22 kB / 1.006 GB, free: 1.031 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.01e-07/0.01175, allocations: 3.938 kB / 1.006 GB, free: 1.027 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002605/0.01201, allocations: 35.98 kB / 1.006 GB, free: 0.9922 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.0001808/0.01219, allocations: 103.2 kB / 1.006 GB, free: 0.8789 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004136/0.01261, allocations: 278.2 kB / 1.006 GB, free: 0.5703 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01261, allocations: 0 / 1.006 GB, free: 0.5703 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 6.652e-05/0.01267, allocations: 32.22 kB / 1.006 GB, free: 0.5391 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.01294, allocations: 15.98 kB / 1.006 GB, free: 0.5234 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003785/0.01332, allocations: 157.5 kB / 1.007 GB, free: 348 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.095e-05/0.0134, allocations: 71.28 kB / 1.007 GB, free: 256 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.655e-05/0.01343, allocations: 7.859 kB / 1.007 GB, free: 248 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.018e-05/0.01346, allocations: 16.48 kB / 1.007 GB, free: 232 kB / 0.9512 GB Notification: Performance of SimCode: time 4.31e-07/0.01346, allocations: 0 / 1.007 GB, free: 232 kB / 0.9512 GB Notification: Performance of Templates: time 0.005696/0.01916, allocations: 2.052 MB / 1.009 GB, free: 14.22 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Xor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.488879278302193]