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.001739/0.001739, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.002172/0.002172, allocations: 211.5 kB / 23 MB, free: 4.934 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.542/1.542, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.365/3.365, allocations: 0.49 GB / 0.7959 GB, free: 35.47 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.00206/0.00206, allocations: 70.64 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4146/0.4167, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002778/0.4195, allocations: 0.9689 MB / 1.328 GB, free: 44 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002273/0.4217, allocations: 1.358 MB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.039e-05/0.4218, allocations: 8 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001327/0.4219, allocations: 15.75 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001276/0.4221, allocations: 47.64 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008929/0.423, allocations: 273.6 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004985/0.4235, allocations: 379.2 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002547/0.4237, allocations: 45.78 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002163/0.4239, allocations: 167.6 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000213/0.4242, allocations: 127.6 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.781e-05/0.4242, allocations: 32 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.4243, allocations: 51.98 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.4244, allocations: 63.7 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.4246, allocations: 119.5 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005071/0.4251, allocations: 402.5 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.4251, allocations: 0 / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.365e-06/0.4251, allocations: 0 / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.157e-05/0.4251, allocations: 0 / 1.331 GB, free: 12.97 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001181/0.4263, allocations: 0.5588 MB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.4264, allocations: 8.031 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003667/0.4267, allocations: 64.75 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.4278, allocations: 305.1 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.702e-05/0.4278, allocations: 12.38 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.392e-05/0.4278, allocations: 20.38 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00047/0.4283, allocations: 206.3 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.4283, allocations: 3.938 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.4283, allocations: 4 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.4284, allocations: 7.938 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000478/0.4288, allocations: 143.8 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/0.43, allocations: 0.7859 MB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003355/0.4303, allocations: 152.9 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002408/0.4305, allocations: 80.3 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.4306, allocations: 4 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004721/0.431, allocations: 175.4 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.523e-06/0.431, allocations: 0 / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0008569/0.4319, allocations: 261.7 kB / 1.334 GB, free: 9.98 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.432, allocations: 162.2 kB / 1.334 GB, free: 9.785 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002544/0.4323, allocations: 221 kB / 1.334 GB, free: 9.555 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.388e-05/0.4323, allocations: 33.7 kB / 1.334 GB, free: 9.516 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.4324, allocations: 152.3 kB / 1.334 GB, free: 9.363 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.94e-05/0.4325, allocations: 31.78 kB / 1.334 GB, free: 9.332 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001779/0.4326, allocations: 53.88 kB / 1.334 GB, free: 9.273 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.4328, allocations: 338.8 kB / 1.335 GB, free: 8.934 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003815/0.4332, allocations: 159.3 kB / 1.335 GB, free: 8.766 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004642/0.4337, allocations: 292.1 kB / 1.335 GB, free: 8.422 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006214/0.4343, allocations: 278.9 kB / 1.335 GB, free: 8.109 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.4343, allocations: 0 / 1.335 GB, free: 8.109 MB / 1.029 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001016/0.4353, allocations: 447.9 kB / 1.336 GB, free: 7.641 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.157e-05/0.4354, allocations: 59.41 kB / 1.336 GB, free: 7.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.4354, allocations: 4.219 kB / 1.336 GB, free: 7.566 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.4354, allocations: 4 kB / 1.336 GB, free: 7.562 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000176/0.4356, allocations: 31.97 kB / 1.336 GB, free: 7.531 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.4356, allocations: 7.984 kB / 1.336 GB, free: 7.523 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004259/0.436, allocations: 67.81 kB / 1.336 GB, free: 7.457 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.841e-05/0.436, allocations: 23.98 kB / 1.336 GB, free: 7.434 MB / 1.029 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.000172/0.4362, allocations: 152.1 kB / 1.336 GB, free: 7.277 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.317e-05/0.4363, allocations: 15.91 kB / 1.336 GB, free: 7.262 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.033e-05/0.4363, allocations: 25.33 kB / 1.336 GB, free: 7.23 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.4363, allocations: 0 / 1.336 GB, free: 7.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.4363, allocations: 4 kB / 1.336 GB, free: 7.227 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.812e-05/0.4364, allocations: 15.86 kB / 1.336 GB, free: 7.211 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.992e-05/0.4364, allocations: 7.984 kB / 1.336 GB, free: 7.203 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.4365, allocations: 19.98 kB / 1.336 GB, free: 7.184 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.52e-05/0.4366, allocations: 23.91 kB / 1.336 GB, free: 7.16 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008077/0.4374, allocations: 0.5643 MB / 1.337 GB, free: 6.586 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007826/0.4382, allocations: 0.6636 MB / 1.337 GB, free: 5.902 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002471/0.4384, allocations: 67.88 kB / 1.337 GB, free: 5.836 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001649/0.4386, allocations: 164.5 kB / 1.338 GB, free: 5.676 MB / 1.029 GB Notification: Performance of Backend: time 4.71e-07/0.4386, allocations: 3.938 kB / 1.338 GB, free: 5.672 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001257/0.4399, allocations: 397.2 kB / 1.338 GB, free: 5.242 MB / 1.029 GB Notification: Performance of SimCode: time 0.001206/0.4411, allocations: 0.8188 MB / 1.339 GB, free: 4.379 MB / 1.029 GB Notification: Performance of Templates: time 0.009191/0.4503, allocations: 3.911 MB / 1.343 GB, free: 0.5547 MB / 1.029 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=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: 9.635056669001642]