Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.001999/0.001999, allocations: 79.7 kB / 20.23 MB, free: 4.191 MB / 18.57 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.002165/0.002165, allocations: 157.3 kB / 23.55 MB, free: 0.8789 MB / 18.57 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.587/1.587, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.021/3.021, allocations: 377.8 MB / 0.6232 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extSig.u.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.|extSig1.y.1.|extSig1.y.2.|extSig1.y.3.|extSig1.y.4.|extSig1.y.5.|extSig1.y.6.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extSig.u.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.|extSig1.y.1.|extSig1.y.2.|extSig1.y.3.|extSig1.y.4.|extSig1.y.5.|extSig1.y.6.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.486e-05/2.656e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002234/0.002261, allocations: 0.9856 MB / 0.8118 GB, free: 1.137 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002122/0.004383, allocations: 1.355 MB / 0.8131 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.977e-05/0.004463, allocations: 7.938 kB / 0.8131 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001511/0.004614, allocations: 21.08 kB / 0.8131 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001342/0.004748, allocations: 47.64 kB / 0.8132 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.00584, allocations: 272.9 kB / 0.8134 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005287/0.006369, allocations: 387.9 kB / 0.8138 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.006525, allocations: 41.78 kB / 0.8138 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003211/0.006846, allocations: 212.2 kB / 0.814 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002089/0.007055, allocations: 111.7 kB / 0.8141 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 7.776e-05/0.007133, allocations: 37.66 kB / 0.8142 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001338/0.007267, allocations: 51.91 kB / 0.8142 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.554e-05/0.007362, allocations: 51.84 kB / 0.8143 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001624/0.007525, allocations: 111.7 kB / 0.8144 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005779/0.008103, allocations: 431.4 kB / 0.8148 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.008109, allocations: 9.297 kB / 0.8148 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.61e-07/0.008109, allocations: 0 / 0.8148 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.008115, allocations: 0 / 0.8148 GB, free: 14.02 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001095/0.009209, allocations: 0.6401 MB / 0.8154 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.009245, allocations: 8.031 kB / 0.8154 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003603/0.009605, allocations: 88.59 kB / 0.8155 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007954/0.0104, allocations: 286.9 kB / 0.8158 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/0.01043, allocations: 12.38 kB / 0.8158 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.007e-05/0.01048, allocations: 24.31 kB / 0.8158 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003875/0.01087, allocations: 184.6 kB / 0.816 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.01088, allocations: 1.875 kB / 0.816 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.01089, allocations: 384 / 0.816 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.0109, allocations: 8.125 kB / 0.816 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003216/0.01123, allocations: 100.6 kB / 0.8161 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001295/0.01252, allocations: 1.04 MB / 0.8171 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003306/0.01285, allocations: 173.6 kB / 0.8173 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/0.01303, allocations: 78.41 kB / 0.8174 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.01305, allocations: 0 / 0.8174 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003493/0.0134, allocations: 180.3 kB / 0.8175 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.0134, allocations: 1.906 kB / 0.8175 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.0006877/0.01409, allocations: 211.7 kB / 0.8178 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.01421, allocations: 166.1 kB / 0.8179 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003275/0.01453, allocations: 304.3 kB / 0.8182 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.018e-05/0.01457, allocations: 33.7 kB / 0.8182 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/0.01476, allocations: 207.1 kB / 0.8184 GB, free: 9.98 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.385e-05/0.0148, allocations: 32.89 kB / 0.8185 GB, free: 9.949 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.01494, allocations: 67.34 kB / 0.8185 GB, free: 9.875 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002798/0.01522, allocations: 0.5118 MB / 0.819 GB, free: 9.352 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003282/0.01555, allocations: 159.9 kB / 0.8192 GB, free: 9.184 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004572/0.016, allocations: 316.2 kB / 0.8195 GB, free: 8.805 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005051/0.01651, allocations: 276.7 kB / 0.8197 GB, free: 8.488 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01651, allocations: 0 / 0.8197 GB, free: 8.488 MB / 0.7761 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001011/0.01752, allocations: 450 kB / 0.8202 GB, free: 8.02 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 8.427e-05/0.01761, allocations: 71.39 kB / 0.8202 GB, free: 7.938 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.01761, allocations: 1.5 kB / 0.8202 GB, free: 7.938 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.01763, allocations: 4 kB / 0.8202 GB, free: 7.934 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.01775, allocations: 17.05 kB / 0.8203 GB, free: 7.918 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.01776, allocations: 4 kB / 0.8203 GB, free: 7.914 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003163/0.01808, allocations: 48.98 kB / 0.8203 GB, free: 7.867 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.343e-05/0.01812, allocations: 21.11 kB / 0.8203 GB, free: 7.848 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * 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.0001816/0.01831, allocations: 176.5 kB / 0.8205 GB, free: 7.664 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.715e-05/0.01836, allocations: 40.64 kB / 0.8205 GB, free: 7.625 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.09e-05/0.01842, allocations: 21.34 kB / 0.8206 GB, free: 7.602 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.01843, allocations: 1.688 kB / 0.8206 GB, free: 7.602 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.01843, allocations: 7.984 kB / 0.8206 GB, free: 7.594 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.01844, allocations: 0 / 0.8206 GB, free: 7.594 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002718/0.01871, allocations: 204.6 kB / 0.8208 GB, free: 7.359 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.01871, allocations: 0.5 kB / 0.8208 GB, free: 7.359 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.01882, allocations: 25.27 kB / 0.8208 GB, free: 7.336 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.01882, allocations: 0 / 0.8208 GB, free: 7.336 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/0.01885, allocations: 15.92 kB / 0.8208 GB, free: 7.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.01885, allocations: 0 / 0.8208 GB, free: 7.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.01885, allocations: 4.625 kB / 0.8208 GB, free: 7.316 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000495/0.01935, allocations: 228.1 kB / 0.821 GB, free: 7.055 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.904e-05/0.01939, allocations: 22.09 kB / 0.821 GB, free: 7.035 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.01941, allocations: 3.938 kB / 0.8211 GB, free: 7.031 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.01951, allocations: 11.98 kB / 0.8211 GB, free: 7.02 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.351e-05/0.0196, allocations: 23.97 kB / 0.8211 GB, free: 6.996 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.01961, allocations: 4 kB / 0.8211 GB, free: 6.992 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002065/0.01982, allocations: 211.2 kB / 0.8213 GB, free: 6.785 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01982, allocations: 0 / 0.8213 GB, free: 6.785 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000308/0.02013, allocations: 51.89 kB / 0.8213 GB, free: 6.734 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.0001972/0.02032, allocations: 111.1 kB / 0.8214 GB, free: 6.613 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0007942/0.02112, allocations: 403 kB / 0.8218 GB, free: 6.184 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.02112, allocations: 0 / 0.8218 GB, free: 6.184 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002159/0.02133, allocations: 79.64 kB / 0.8219 GB, free: 6.102 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.02172, allocations: 56.33 kB / 0.822 GB, free: 6.047 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007831/0.0225, allocations: 402 kB / 0.8223 GB, free: 5.609 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001546/0.02265, allocations: 132.8 kB / 0.8225 GB, free: 5.457 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001203/0.02277, allocations: 37.61 kB / 0.8225 GB, free: 5.422 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.975e-05/0.02283, allocations: 24.5 kB / 0.8225 GB, free: 5.398 MB / 0.7761 GB Notification: Performance of SimCode: time 6.92e-07/0.02284, allocations: 0 / 0.8225 GB, free: 5.398 MB / 0.7761 GB Notification: Performance of Templates: time 0.008813/0.03165, allocations: 3.312 MB / 0.8258 GB, free: 2.176 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.295888865948655]