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.001605/0.001605, allocations: 111.7 kB / 17.13 MB, free: 5.926 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.00179/0.00179, allocations: 204 kB / 20.09 MB, free: 2.977 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.538/1.538, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.984/2.984, allocations: 0.49 GB / 0.7923 GB, free: 1.336 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.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: 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.00204/0.00204, allocations: 71.89 kB / 1.15 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9197/0.9217, allocations: 176.1 MB / 1.322 GB, free: 25.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002076/0.9238, allocations: 1.024 MB / 1.323 GB, free: 24.42 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001546/0.9253, allocations: 1.358 MB / 1.324 GB, free: 23.43 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.676e-05/0.9254, allocations: 6.906 kB / 1.324 GB, free: 23.43 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001147/0.9255, allocations: 27.12 kB / 1.324 GB, free: 23.41 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.187e-05/0.9256, allocations: 51.23 kB / 1.324 GB, free: 23.37 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006753/0.9263, allocations: 274.4 kB / 1.325 GB, free: 23.23 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003225/0.9266, allocations: 378.2 kB / 1.325 GB, free: 23.06 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.9268, allocations: 61.86 kB / 1.325 GB, free: 23.03 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.9269, allocations: 149.4 kB / 1.325 GB, free: 22.97 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/0.9271, allocations: 134.2 kB / 1.325 GB, free: 22.91 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.807e-05/0.9271, allocations: 32.75 kB / 1.325 GB, free: 22.91 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.9272, allocations: 54.39 kB / 1.325 GB, free: 22.9 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.74e-05/0.9273, allocations: 68.73 kB / 1.325 GB, free: 22.86 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.9274, allocations: 132.3 kB / 1.326 GB, free: 22.78 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003202/0.9277, allocations: 403.1 kB / 1.326 GB, free: 22.64 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.9277, allocations: 0 / 1.326 GB, free: 22.64 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9277, allocations: 0 / 1.326 GB, free: 22.64 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.9277, allocations: 4 kB / 1.326 GB, free: 22.64 MB / 1.061 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.0008292/0.9286, allocations: 0.6231 MB / 1.327 GB, free: 22.09 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.9286, allocations: 15.73 kB / 1.327 GB, free: 22.08 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000354/0.929, allocations: 66.78 kB / 1.327 GB, free: 22.07 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008683/0.9298, allocations: 374.5 kB / 1.327 GB, free: 21.8 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.077e-05/0.9299, allocations: 13.09 kB / 1.327 GB, free: 21.8 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.124e-05/0.9299, allocations: 20.25 kB / 1.327 GB, free: 21.8 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004539/0.9304, allocations: 211.3 kB / 1.327 GB, free: 21.68 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.9304, allocations: 5.125 kB / 1.327 GB, free: 21.68 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.9304, allocations: 5 kB / 1.327 GB, free: 21.67 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.9304, allocations: 3.469 kB / 1.327 GB, free: 21.67 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005159/0.9309, allocations: 141.1 kB / 1.327 GB, free: 21.64 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00099/0.9319, allocations: 0.903 MB / 1.328 GB, free: 20.91 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003163/0.9322, allocations: 150.7 kB / 1.328 GB, free: 20.77 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002446/0.9325, allocations: 83.55 kB / 1.328 GB, free: 20.72 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.9325, allocations: 5.406 kB / 1.329 GB, free: 20.71 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004218/0.9329, allocations: 166.3 kB / 1.329 GB, free: 20.61 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.9329, allocations: 0 / 1.329 GB, free: 20.61 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.0009663/0.9339, allocations: 264.8 kB / 1.329 GB, free: 20.52 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.478e-05/0.9339, allocations: 162.8 kB / 1.329 GB, free: 20.32 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002404/0.9342, allocations: 217.9 kB / 1.329 GB, free: 20.19 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.9342, allocations: 34.2 kB / 1.329 GB, free: 20.15 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.452e-05/0.9343, allocations: 152.8 kB / 1.329 GB, free: 20.02 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.036e-05/0.9343, allocations: 30.95 kB / 1.329 GB, free: 20 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.9345, allocations: 60.14 kB / 1.33 GB, free: 19.97 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.093e-05/0.9345, allocations: 333.4 kB / 1.33 GB, free: 19.64 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003665/0.9349, allocations: 99.67 kB / 1.33 GB, free: 19.62 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003783/0.9353, allocations: 173.9 kB / 1.33 GB, free: 19.5 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005975/0.9359, allocations: 269.9 kB / 1.33 GB, free: 19.32 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.9359, allocations: 1.125 kB / 1.33 GB, free: 19.32 MB / 1.061 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008931/0.9368, allocations: 380.4 kB / 1.331 GB, free: 19.13 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.009e-05/0.9368, allocations: 64.16 kB / 1.331 GB, free: 19.07 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.9368, allocations: 7.172 kB / 1.331 GB, free: 19.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.9368, allocations: 2.844 kB / 1.331 GB, free: 19.07 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.937, allocations: 29.73 kB / 1.331 GB, free: 19.06 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.046e-06/0.937, allocations: 3.688 kB / 1.331 GB, free: 19.06 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004489/0.9375, allocations: 70.11 kB / 1.331 GB, free: 19.05 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.701e-05/0.9375, allocations: 21.58 kB / 1.331 GB, free: 19.05 MB / 1.061 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.0001277/0.9376, allocations: 152.7 kB / 1.331 GB, free: 18.91 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.648e-05/0.9377, allocations: 18.33 kB / 1.331 GB, free: 18.91 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.331e-05/0.9377, allocations: 22.86 kB / 1.331 GB, free: 18.89 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.9377, allocations: 2.188 kB / 1.331 GB, free: 18.89 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.9377, allocations: 1.609 kB / 1.331 GB, free: 18.89 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.615e-05/0.9378, allocations: 2.297 kB / 1.331 GB, free: 18.89 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/0.938, allocations: 264.5 kB / 1.331 GB, free: 18.65 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.938, allocations: 6.375 kB / 1.331 GB, free: 18.65 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001451/0.9381, allocations: 27.7 kB / 1.331 GB, free: 18.64 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.9381, allocations: 1.922 kB / 1.331 GB, free: 18.64 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.9381, allocations: 7.562 kB / 1.331 GB, free: 18.64 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.9382, allocations: 1.219 kB / 1.331 GB, free: 18.64 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.9382, allocations: 3.375 kB / 1.331 GB, free: 18.64 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005696/0.9387, allocations: 245.7 kB / 1.332 GB, free: 18.49 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.929e-05/0.9388, allocations: 95.92 kB / 1.332 GB, free: 18.39 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.65e-05/0.9388, allocations: 6.891 kB / 1.332 GB, free: 18.38 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.9389, allocations: 21.22 kB / 1.332 GB, free: 18.38 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.502e-05/0.939, allocations: 14.91 kB / 1.332 GB, free: 18.38 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.939, allocations: 4.922 kB / 1.332 GB, free: 18.38 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001271/0.9391, allocations: 166.2 kB / 1.332 GB, free: 18.27 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9391, allocations: 0.9688 kB / 1.332 GB, free: 18.27 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003007/0.9394, allocations: 49.03 kB / 1.332 GB, free: 18.26 MB / 1.061 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.0001301/0.9396, allocations: 110 kB / 1.332 GB, free: 18.17 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000752/0.9403, allocations: 307.9 kB / 1.332 GB, free: 18 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.9403, allocations: 8 kB / 1.332 GB, free: 17.99 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002962/0.9406, allocations: 79.92 kB / 1.332 GB, free: 17.97 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.941, allocations: 55.31 kB / 1.333 GB, free: 17.95 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006819/0.9416, allocations: 431.3 kB / 1.333 GB, free: 17.64 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001921/0.9418, allocations: 0.748 MB / 1.334 GB, free: 16.94 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.402e-05/0.9419, allocations: 23.41 kB / 1.334 GB, free: 16.93 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.9419, allocations: 0 / 1.334 GB, free: 16.93 MB / 1.061 GB Notification: Performance of Templates: time 0.006887/0.9488, allocations: 3.068 MB / 1.337 GB, free: 16.63 MB / 1.061 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 400] 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/jenkins1/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: 11.86672446000739]