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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 110.3 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00168/0.001681, allocations: 194.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 222.9 MB / 245.7 MB, free: 4.238 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3/3, allocations: 489.3 MB / 0.7687 GB, free: 3.762 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=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 0.00197/0.00197, allocations: 71.89 kB / 1.103 GB, free: 0.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.072/1.074, allocations: 163.8 MB / 1.263 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001836/1.076, allocations: 0.6592 MB / 1.263 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001528/1.078, allocations: 1.187 MB / 1.264 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.031e-05/1.078, allocations: 1.094 kB / 1.264 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.293e-05/1.078, allocations: 4.734 kB / 1.264 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.282e-05/1.078, allocations: 10.2 kB / 1.264 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006919/1.078, allocations: 225.3 kB / 1.265 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002739/1.079, allocations: 184.2 kB / 1.265 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.842e-05/1.079, allocations: 11.52 kB / 1.265 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/1.079, allocations: 67.08 kB / 1.265 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/1.079, allocations: 66.81 kB / 1.265 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.692e-05/1.079, allocations: 15.25 kB / 1.265 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/1.079, allocations: 37.44 kB / 1.265 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.292e-05/1.079, allocations: 9.344 kB / 1.265 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001013/1.079, allocations: 61.02 kB / 1.265 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002776/1.08, allocations: 152.5 kB / 1.265 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/1.08, allocations: 1 kB / 1.265 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.124e-06/1.08, allocations: 0 / 1.265 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.783e-06/1.08, allocations: 0.5625 kB / 1.265 GB, free: 6.355 MB / 0.9981 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.0004497/1.08, allocations: 434.8 kB / 1.266 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/1.08, allocations: 8.812 kB / 1.266 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.998e-05/1.08, allocations: 12.17 kB / 1.266 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.428e-05/1.08, allocations: 177.3 kB / 1.266 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/1.08, allocations: 4.891 kB / 1.266 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.318e-05/1.08, allocations: 10.38 kB / 1.266 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/1.081, allocations: 58.17 kB / 1.266 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/1.081, allocations: 192 / 1.266 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/1.081, allocations: 5.938 kB / 1.266 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/1.081, allocations: 0 / 1.266 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.428e-05/1.081, allocations: 19.06 kB / 1.266 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004499/1.081, allocations: 351.9 kB / 1.266 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.568e-05/1.081, allocations: 43.7 kB / 1.266 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.102e-05/1.081, allocations: 16.92 kB / 1.266 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/1.081, allocations: 1 kB / 1.266 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000183/1.081, allocations: 78 kB / 1.266 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/1.081, allocations: 0 / 1.266 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0002668/1.082, allocations: 109.2 kB / 1.266 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/1.082, allocations: 58.02 kB / 1.267 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.625e-05/1.082, allocations: 124.3 kB / 1.267 GB, free: 5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/1.082, allocations: 33.78 kB / 1.267 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.643e-05/1.082, allocations: 90.34 kB / 1.267 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.588e-05/1.082, allocations: 11.77 kB / 1.267 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/1.082, allocations: 48.28 kB / 1.267 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.357e-05/1.082, allocations: 322.9 kB / 1.267 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/1.082, allocations: 64.7 kB / 1.267 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/1.082, allocations: 93.44 kB / 1.267 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/1.083, allocations: 154.6 kB / 1.267 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/1.083, allocations: 4 kB / 1.267 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004499/1.083, allocations: 262.6 kB / 1.268 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.158e-05/1.083, allocations: 73.61 kB / 1.268 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/1.083, allocations: 0.8438 kB / 1.268 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/1.083, allocations: 1.875 kB / 1.268 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.307e-05/1.083, allocations: 7.281 kB / 1.268 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/1.083, allocations: 1.406 kB / 1.268 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003499/1.084, allocations: 56.64 kB / 1.268 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.736e-05/1.084, allocations: 11.66 kB / 1.268 GB, free: 4.07 MB / 0.9981 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.191e-05/1.084, allocations: 126.3 kB / 1.268 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.42e-05/1.084, allocations: 11.02 kB / 1.268 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.685e-05/1.084, allocations: 7.047 kB / 1.268 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/1.084, allocations: 0.9062 kB / 1.268 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/1.084, allocations: 4.812 kB / 1.268 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/1.084, allocations: 5.031 kB / 1.268 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001029/1.084, allocations: 183.8 kB / 1.268 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/1.084, allocations: 0.9375 kB / 1.268 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.448e-06/1.084, allocations: 1.719 kB / 1.268 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/1.084, allocations: 1 kB / 1.268 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/1.084, allocations: 9.391 kB / 1.268 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/1.084, allocations: 1.641 kB / 1.268 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/1.084, allocations: 0 / 1.268 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/1.084, allocations: 124.5 kB / 1.268 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.12e-05/1.084, allocations: 84.14 kB / 1.268 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/1.084, allocations: 2.094 kB / 1.268 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.991e-05/1.084, allocations: 0.75 kB / 1.268 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/1.084, allocations: 10.83 kB / 1.268 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/1.084, allocations: 2.812 kB / 1.268 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.89e-05/1.084, allocations: 94.25 kB / 1.268 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.084, allocations: 0.9688 kB / 1.268 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002352/1.085, allocations: 30.7 kB / 1.269 GB, free: 3.426 MB / 0.9981 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.0001425/1.085, allocations: 113.2 kB / 1.269 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003175/1.085, allocations: 249.5 kB / 1.269 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.085, allocations: 0 / 1.269 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.764e-05/1.085, allocations: 28.61 kB / 1.269 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/1.085, allocations: 11.42 kB / 1.269 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003238/1.086, allocations: 196.1 kB / 1.269 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/1.086, allocations: 0.6861 MB / 1.27 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.223e-05/1.086, allocations: 11.22 kB / 1.27 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of SimCode: time 2.11e-07/1.086, allocations: 0 / 1.27 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of Templates: time 0.003653/1.089, allocations: 1.398 MB / 1.271 GB, free: 2.133 MB / 0.9981 GB " [Timeout remaining time 299] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.600404085125774]