Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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.001514/0.001514, allocations: 108.8 kB / 16.45 MB, free: 6.453 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.001634/0.001634, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.64/1.64, allocations: 230.6 MB / 252.8 MB, free: 8.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.581/3.581, allocations: 0.4899 GB / 0.7915 GB, free: 33.39 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extBooSig.u.1.|extBooSig.u.2.|extBooSig.u.3.|extBooSig.u.4.|extBooSig.y.1.|extBooSig.y.2.|extBooSig.y.3.|extBooSig1.y.1.|extBooSig1.y.2.|extBooSig1.y.3.|extBooSig1.y.4.|extBooSig1.y.5.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extBooSig.u.1.|extBooSig.u.2.|extBooSig.u.3.|extBooSig.u.4.|extBooSig.y.1.|extBooSig.y.2.|extBooSig.y.3.|extBooSig1.y.1.|extBooSig1.y.2.|extBooSig1.y.3.|extBooSig1.y.4.|extBooSig1.y.5.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002325/0.002325, allocations: 76.92 kB / 1.149 GB, free: 26.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4276/0.4299, allocations: 176.1 MB / 1.321 GB, free: 2.832 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002157/0.432, allocations: 0.7063 MB / 1.322 GB, free: 2.125 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001922/0.434, allocations: 1.284 MB / 1.323 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.909e-05/0.434, allocations: 4 kB / 1.323 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001406/0.4342, allocations: 15.8 kB / 1.323 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.405e-05/0.4342, allocations: 15.86 kB / 1.323 GB, free: 0.793 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008353/0.4351, allocations: 232.5 kB / 1.323 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003595/0.4354, allocations: 243.6 kB / 1.324 GB, free: 340 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.4356, allocations: 35.92 kB / 1.324 GB, free: 304 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.4357, allocations: 107.7 kB / 1.324 GB, free: 196 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.4359, allocations: 83.77 kB / 1.324 GB, free: 112 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.788e-05/0.4359, allocations: 16 kB / 1.324 GB, free: 96 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.436, allocations: 47.95 kB / 1.324 GB, free: 48 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.109e-05/0.4361, allocations: 35.86 kB / 1.324 GB, free: 12 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001276/0.4362, allocations: 87.81 kB / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003263/0.4366, allocations: 235.1 kB / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.4366, allocations: 0 / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4366, allocations: 4 kB / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.4366, allocations: 0 / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007299/0.4373, allocations: 0.4982 MB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.4373, allocations: 11.98 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003689/0.4377, allocations: 64.78 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006177/0.4383, allocations: 260.2 kB / 1.325 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.342e-05/0.4384, allocations: 16.38 kB / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.216e-05/0.4384, allocations: 16.36 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/0.4386, allocations: 127.5 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.4386, allocations: 3.938 kB / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.4387, allocations: 4 kB / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-06/0.4387, allocations: 4 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.911e-05/0.4387, allocations: 47.91 kB / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007839/0.4395, allocations: 0.6689 MB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.687e-05/0.4396, allocations: 33.28 kB / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.664e-05/0.4396, allocations: 21.72 kB / 1.326 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.508e-06/0.4396, allocations: 0 / 1.326 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001945/0.4398, allocations: 96.95 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.4398, allocations: 0 / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.000276/0.4401, allocations: 101.5 kB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.323e-05/0.4402, allocations: 85.11 kB / 1.326 GB, free: 13.4 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.4403, allocations: 173.8 kB / 1.326 GB, free: 13.22 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.043e-05/0.4404, allocations: 33.7 kB / 1.326 GB, free: 13.18 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.4405, allocations: 124 kB / 1.327 GB, free: 13.06 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.678e-05/0.4405, allocations: 15.92 kB / 1.327 GB, free: 13.04 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.4406, allocations: 53.69 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.4408, allocations: 326.8 kB / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.4409, allocations: 55.97 kB / 1.327 GB, free: 12.6 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/0.4411, allocations: 120.5 kB / 1.327 GB, free: 12.45 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002432/0.4413, allocations: 178.2 kB / 1.327 GB, free: 12.24 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4413, allocations: 0 / 1.327 GB, free: 12.24 MB / 1.029 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004651/0.4418, allocations: 269.1 kB / 1.328 GB, free: 11.96 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.391e-05/0.4419, allocations: 67.64 kB / 1.328 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.4419, allocations: 7.984 kB / 1.328 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.4419, allocations: 4 kB / 1.328 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.922e-05/0.4419, allocations: 7.875 kB / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.4419, allocations: 4 kB / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003357/0.4423, allocations: 55.88 kB / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.873e-05/0.4423, allocations: 19.97 kB / 1.328 GB, free: 11.79 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 10 (booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition4,booPul1.y,$PRE.booPul1.y,$whenCondition1,$whenCondition2,con.y,con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * 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.0001452/0.4425, allocations: 141.8 kB / 1.328 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.27e-05/0.4425, allocations: 15.84 kB / 1.328 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.038e-05/0.4425, allocations: 16.33 kB / 1.328 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.4425, allocations: 3.938 kB / 1.328 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.4425, allocations: 0 / 1.328 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.4425, allocations: 4 kB / 1.328 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002165/0.4428, allocations: 201.6 kB / 1.328 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.4428, allocations: 3.938 kB / 1.328 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.09e-05/0.4428, allocations: 8 kB / 1.328 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.4428, allocations: 0 / 1.328 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.4428, allocations: 0 / 1.328 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4428, allocations: 0 / 1.328 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4428, allocations: 4 kB / 1.328 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/0.4429, allocations: 109.9 kB / 1.328 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.679e-05/0.443, allocations: 92.95 kB / 1.328 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.443, allocations: 7.984 kB / 1.328 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.176e-05/0.4431, allocations: 4 kB / 1.328 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.322e-05/0.4431, allocations: 4 kB / 1.328 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-06/0.4431, allocations: 4 kB / 1.328 GB, free: 11.07 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001041/0.4432, allocations: 121.2 kB / 1.328 GB, free: 10.95 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4432, allocations: 4 kB / 1.328 GB, free: 10.95 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00026/0.4435, allocations: 35.94 kB / 1.328 GB, free: 10.91 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul.y,$whenCondition1,$whenCondition2,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0001608/0.4436, allocations: 103.2 kB / 1.329 GB, free: 10.8 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003746/0.444, allocations: 226.6 kB / 1.329 GB, free: 10.56 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.444, allocations: 0 / 1.329 GB, free: 10.56 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.468e-05/0.444, allocations: 15.98 kB / 1.329 GB, free: 10.55 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.4443, allocations: 23.92 kB / 1.329 GB, free: 10.52 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004924/0.4448, allocations: 244.4 kB / 1.329 GB, free: 10.25 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/0.4452, allocations: 0.7157 MB / 1.33 GB, free: 9.512 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.832e-05/0.4452, allocations: 8.875 kB / 1.33 GB, free: 9.5 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.194e-05/0.4453, allocations: 15.44 kB / 1.33 GB, free: 9.484 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.4453, allocations: 3.938 kB / 1.33 GB, free: 9.48 MB / 1.029 GB Notification: Performance of Templates: time 0.0057/0.451, allocations: 1.902 MB / 1.332 GB, free: 7.609 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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: 10.003628275822848]