Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002153/0.002153, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 225.6 MB / 249.9 MB, free: 3.246 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.82/2.82, allocations: 489.7 MB / 0.7761 GB, free: 2.438 MB / 0.6075 GB [Timeout remaining time 87] 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.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=511,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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=511,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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 63.89 kB / 1.127 GB, free: 5.168 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9074/0.9093, allocations: 172 MB / 1.295 GB, free: 38.73 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001826/0.9111, allocations: 1.021 MB / 1.296 GB, free: 38.07 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001278/0.9124, allocations: 1.334 MB / 1.297 GB, free: 37.1 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.484e-05/0.9125, allocations: 6.844 kB / 1.297 GB, free: 37.09 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001001/0.9126, allocations: 14.95 kB / 1.297 GB, free: 37.08 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.578e-05/0.9127, allocations: 47.62 kB / 1.297 GB, free: 37.05 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006279/0.9133, allocations: 272.5 kB / 1.297 GB, free: 36.91 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002956/0.9136, allocations: 381 kB / 1.298 GB, free: 36.73 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.9137, allocations: 55.84 kB / 1.298 GB, free: 36.71 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.9139, allocations: 154.8 kB / 1.298 GB, free: 36.64 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.914, allocations: 131.2 kB / 1.298 GB, free: 36.59 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.447e-05/0.9141, allocations: 34.66 kB / 1.298 GB, free: 36.59 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.9142, allocations: 57.17 kB / 1.298 GB, free: 36.58 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.947e-05/0.9142, allocations: 67.97 kB / 1.298 GB, free: 36.54 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.9143, allocations: 134.1 kB / 1.298 GB, free: 36.46 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003078/0.9147, allocations: 399.8 kB / 1.299 GB, free: 36.32 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.9147, allocations: 3.938 kB / 1.299 GB, free: 36.31 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9147, allocations: 0 / 1.299 GB, free: 36.31 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.9147, allocations: 0 / 1.299 GB, free: 36.31 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.0007599/0.9154, allocations: 0.6278 MB / 1.299 GB, free: 35.77 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.9155, allocations: 8.25 kB / 1.299 GB, free: 35.77 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.484e-05/0.9155, allocations: 30.27 kB / 1.299 GB, free: 35.75 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008282/0.9164, allocations: 369.7 kB / 1.3 GB, free: 35.5 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/0.9164, allocations: 23.5 kB / 1.3 GB, free: 35.48 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.686e-05/0.9164, allocations: 18.31 kB / 1.3 GB, free: 35.48 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003782/0.9168, allocations: 200.3 kB / 1.3 GB, free: 35.37 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.9168, allocations: 3.938 kB / 1.3 GB, free: 35.37 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.9168, allocations: 14.02 kB / 1.3 GB, free: 35.36 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.9168, allocations: 2.969 kB / 1.3 GB, free: 35.36 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004158/0.9173, allocations: 140.2 kB / 1.3 GB, free: 35.33 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008584/0.9181, allocations: 0.9108 MB / 1.301 GB, free: 34.6 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002585/0.9184, allocations: 145.1 kB / 1.301 GB, free: 34.46 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/0.9186, allocations: 86.28 kB / 1.301 GB, free: 34.41 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.9186, allocations: 0 / 1.301 GB, free: 34.41 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003474/0.9189, allocations: 178.7 kB / 1.302 GB, free: 34.29 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.9189, allocations: 0 / 1.302 GB, free: 34.29 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.0007573/0.9197, allocations: 260.4 kB / 1.302 GB, free: 34.2 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.9197, allocations: 160.7 kB / 1.302 GB, free: 34.01 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.9199, allocations: 225.6 kB / 1.302 GB, free: 33.87 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/0.9199, allocations: 31.48 kB / 1.302 GB, free: 33.84 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.636e-05/0.92, allocations: 155.3 kB / 1.302 GB, free: 33.7 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.92, allocations: 25.88 kB / 1.302 GB, free: 33.68 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.956e-05/0.9201, allocations: 63.97 kB / 1.302 GB, free: 33.65 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.795e-05/0.9202, allocations: 334.9 kB / 1.303 GB, free: 33.32 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002844/0.9205, allocations: 107.3 kB / 1.303 GB, free: 33.29 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003057/0.9208, allocations: 167.5 kB / 1.303 GB, free: 33.18 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004637/0.9212, allocations: 275.5 kB / 1.303 GB, free: 32.99 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.9212, allocations: 0 / 1.303 GB, free: 32.99 MB / 1.061 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007093/0.9219, allocations: 385.9 kB / 1.304 GB, free: 32.8 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/0.922, allocations: 62.94 kB / 1.304 GB, free: 32.74 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.922, allocations: 2.719 kB / 1.304 GB, free: 32.74 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.922, allocations: 2.594 kB / 1.304 GB, free: 32.74 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.9221, allocations: 29.36 kB / 1.304 GB, free: 32.74 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.9222, allocations: 3.062 kB / 1.304 GB, free: 32.74 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004264/0.9226, allocations: 94.75 kB / 1.304 GB, free: 32.72 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.847e-05/0.9226, allocations: 16.95 kB / 1.304 GB, free: 32.72 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.0001071/0.9227, allocations: 152 kB / 1.304 GB, free: 32.59 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.875e-05/0.9227, allocations: 20.22 kB / 1.304 GB, free: 32.58 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.421e-05/0.9228, allocations: 22.53 kB / 1.304 GB, free: 32.55 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.9228, allocations: 6.219 kB / 1.304 GB, free: 32.55 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.9228, allocations: 6.75 kB / 1.304 GB, free: 32.55 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.9228, allocations: 0 / 1.304 GB, free: 32.55 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.923, allocations: 264.8 kB / 1.304 GB, free: 32.32 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.923, allocations: 2.531 kB / 1.304 GB, free: 32.32 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/0.9231, allocations: 27.84 kB / 1.304 GB, free: 32.31 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.9231, allocations: 0 / 1.304 GB, free: 32.31 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.9231, allocations: 2.812 kB / 1.304 GB, free: 32.31 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.9231, allocations: 6.906 kB / 1.304 GB, free: 32.31 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.9231, allocations: 0 / 1.304 GB, free: 32.31 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004697/0.9236, allocations: 240.9 kB / 1.305 GB, free: 32.17 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.214e-05/0.9236, allocations: 98.41 kB / 1.305 GB, free: 32.06 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.9236, allocations: 6.125 kB / 1.305 GB, free: 32.06 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.9238, allocations: 14.09 kB / 1.305 GB, free: 32.06 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.225e-05/0.9238, allocations: 20.25 kB / 1.305 GB, free: 32.05 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.9238, allocations: 5.156 kB / 1.305 GB, free: 32.05 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.499e-05/0.9239, allocations: 168.3 kB / 1.305 GB, free: 31.95 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9239, allocations: 0 / 1.305 GB, free: 31.95 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002837/0.9242, allocations: 57.52 kB / 1.305 GB, free: 31.93 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.0001352/0.9244, allocations: 110.2 kB / 1.305 GB, free: 31.84 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006299/0.925, allocations: 311.7 kB / 1.305 GB, free: 31.66 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.925, allocations: 0 / 1.305 GB, free: 31.66 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002462/0.9252, allocations: 86.77 kB / 1.305 GB, free: 31.64 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.9255, allocations: 51.44 kB / 1.305 GB, free: 31.62 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005339/0.9261, allocations: 431.2 kB / 1.306 GB, free: 31.32 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001413/0.9262, allocations: 0.7428 MB / 1.307 GB, free: 30.62 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.495e-05/0.9263, allocations: 18.31 kB / 1.307 GB, free: 30.61 MB / 1.061 GB Notification: Performance of SimCode: time 3.81e-07/0.9263, allocations: 3.125 kB / 1.307 GB, free: 30.61 MB / 1.061 GB Notification: Performance of Templates: time 0.00446/0.9307, allocations: 3.176 MB / 1.31 GB, free: 30.29 MB / 1.061 GB [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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