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.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.002026/0.002026, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002065/0.002065, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.557/1.557, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.433/3.433, allocations: 429.5 MB / 0.6729 GB, free: 4.004 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.8774 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.932e-05/3.095e-05, allocations: 3.156 kB / 0.8775 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002638/0.002669, allocations: 0.9894 MB / 0.8784 GB, free: 5.688 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002161/0.00483, allocations: 1.348 MB / 0.8797 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.551e-05/0.004905, allocations: 7.938 kB / 0.8797 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001305/0.005036, allocations: 11.81 kB / 0.8798 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001222/0.005158, allocations: 52.83 kB / 0.8798 GB, free: 4.258 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008339/0.005992, allocations: 272.7 kB / 0.8801 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000547/0.006539, allocations: 383.9 kB / 0.8804 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000182/0.006721, allocations: 45.77 kB / 0.8805 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003372/0.007058, allocations: 220.2 kB / 0.8807 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002017/0.00726, allocations: 99.73 kB / 0.8808 GB, free: 3.258 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 9.612e-05/0.007356, allocations: 37.09 kB / 0.8808 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.007487, allocations: 47.98 kB / 0.8809 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.96e-05/0.007587, allocations: 63.75 kB / 0.8809 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001576/0.007744, allocations: 100.5 kB / 0.881 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0006107/0.008355, allocations: 448 kB / 0.8814 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.008359, allocations: 0 / 0.8814 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.342e-06/0.00836, allocations: 0 / 0.8814 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.008367, allocations: 0 / 0.8814 GB, free: 2.578 MB / 0.8386 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.001087/0.009454, allocations: 0.6467 MB / 0.8821 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.009495, allocations: 12.03 kB / 0.8821 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003699/0.009865, allocations: 80.75 kB / 0.8822 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007984/0.01066, allocations: 279.8 kB / 0.8824 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.041e-05/0.01069, allocations: 16.38 kB / 0.8824 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.553e-05/0.01074, allocations: 20.38 kB / 0.8825 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003962/0.01114, allocations: 194.7 kB / 0.8827 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.01115, allocations: 192 / 0.8827 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.01116, allocations: 5.438 kB / 0.8827 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.845e-05/0.01118, allocations: 8.125 kB / 0.8827 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003166/0.0115, allocations: 92.86 kB / 0.8828 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00135/0.01285, allocations: 1.054 MB / 0.8838 GB, free: 40 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003575/0.01321, allocations: 179.5 kB / 0.884 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001816/0.01339, allocations: 70.47 kB / 0.884 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.01342, allocations: 7.938 kB / 0.884 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00035/0.01377, allocations: 176.1 kB / 0.8842 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.01377, allocations: 0.5938 kB / 0.8842 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.0006993/0.01447, allocations: 212 kB / 0.8844 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001236/0.01459, allocations: 162.2 kB / 0.8846 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003312/0.01492, allocations: 304.9 kB / 0.8848 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.195e-05/0.01496, allocations: 33.7 kB / 0.8849 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000187/0.01515, allocations: 204.3 kB / 0.8851 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.101e-05/0.01519, allocations: 31.69 kB / 0.8851 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001435/0.01533, allocations: 71.33 kB / 0.8852 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002962/0.01563, allocations: 0.5083 MB / 0.8857 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003294/0.01596, allocations: 163.3 kB / 0.8858 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004779/0.01644, allocations: 323.3 kB / 0.8861 GB, free: 13.35 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005129/0.01695, allocations: 276.4 kB / 0.8864 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.01695, allocations: 0 / 0.8864 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008985/0.01785, allocations: 448 kB / 0.8868 GB, free: 12.56 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.436e-05/0.01793, allocations: 67.39 kB / 0.8869 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.01793, allocations: 224 / 0.8869 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.01795, allocations: 8 kB / 0.8869 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.0181, allocations: 23.92 kB / 0.8869 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.01811, allocations: 0 / 0.8869 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003218/0.01843, allocations: 51.84 kB / 0.887 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.152e-05/0.01847, allocations: 23.92 kB / 0.887 GB, free: 12.38 MB / 0.8542 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.0001765/0.01865, allocations: 180.5 kB / 0.8872 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.673e-05/0.0187, allocations: 31.84 kB / 0.8872 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.95e-05/0.01876, allocations: 21.33 kB / 0.8872 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.01876, allocations: 4 kB / 0.8872 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.01877, allocations: 0 / 0.8872 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.01877, allocations: 0 / 0.8872 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002792/0.01905, allocations: 212.5 kB / 0.8874 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.01905, allocations: 4 kB / 0.8874 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.823e-05/0.01915, allocations: 19.98 kB / 0.8874 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.01916, allocations: 4 kB / 0.8874 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.01917, allocations: 3.938 kB / 0.8874 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.01917, allocations: 8 kB / 0.8875 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.01918, allocations: 4.406 kB / 0.8875 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004701/0.01965, allocations: 219.1 kB / 0.8877 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.365e-05/0.01969, allocations: 31.83 kB / 0.8877 GB, free: 11.56 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.956e-05/0.01972, allocations: 7.938 kB / 0.8877 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.716e-05/0.01981, allocations: 11.92 kB / 0.8877 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.558e-05/0.01988, allocations: 23.92 kB / 0.8877 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.0199, allocations: 11.98 kB / 0.8878 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001925/0.02009, allocations: 205.1 kB / 0.8879 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.02009, allocations: 0 / 0.8879 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002965/0.02039, allocations: 51.89 kB / 0.888 GB, free: 11.25 MB / 0.8542 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.000195/0.02058, allocations: 107.2 kB / 0.8881 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007782/0.02136, allocations: 398 kB / 0.8885 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.02136, allocations: 4.062 kB / 0.8885 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002104/0.02158, allocations: 71.56 kB / 0.8886 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003965/0.02197, allocations: 54.69 kB / 0.8886 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008196/0.02279, allocations: 401.8 kB / 0.889 GB, free: 10.13 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001624/0.02295, allocations: 128.8 kB / 0.8891 GB, free: 9.988 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001148/0.02307, allocations: 33.62 kB / 0.8891 GB, free: 9.957 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.603e-05/0.02312, allocations: 24.5 kB / 0.8892 GB, free: 9.934 MB / 0.8542 GB Notification: Performance of SimCode: time 5.91e-07/0.02312, allocations: 0 / 0.8892 GB, free: 9.934 MB / 0.8542 GB Notification: Performance of Templates: time 0.008377/0.0315, allocations: 3.329 MB / 0.8924 GB, free: 6.691 MB / 0.8542 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 240] 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/jenkins/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 [Calling sys.exit(0), Time elapsed: 8.728732494055294]