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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001205/0.001204, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 196.7 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.685/2.685, allocations: 461.9 MB / 0.7346 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 65.95 kB / 0.8992 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3541, allocations: 157.4 MB / 1.053 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.00255/0.3567, allocations: 1.01 MB / 1.054 GB, free: 7.273 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001771/0.3585, allocations: 1.345 MB / 1.055 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.3587, allocations: 3.938 kB / 1.055 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001288/0.3588, allocations: 23.73 kB / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.00011/0.3589, allocations: 35.66 kB / 1.055 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007749/0.3597, allocations: 277.8 kB / 1.056 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004303/0.3602, allocations: 387.3 kB / 1.056 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001905/0.3604, allocations: 69.64 kB / 1.056 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002388/0.3606, allocations: 151.6 kB / 1.056 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002994/0.3609, allocations: 147.5 kB / 1.056 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.844e-05/0.361, allocations: 36 kB / 1.056 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.3611, allocations: 47.98 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.179e-05/0.3612, allocations: 51.84 kB / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001538/0.3614, allocations: 139.3 kB / 1.057 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003984/0.3618, allocations: 383 kB / 1.057 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3618, allocations: 4 kB / 1.057 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3618, allocations: 0 / 1.057 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.858e-06/0.3618, allocations: 0 / 1.057 GB, free: 4.199 MB / 0.8106 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.0009216/0.3627, allocations: 0.6032 MB / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.3628, allocations: 8.625 kB / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.5e-05/0.3628, allocations: 46.73 kB / 1.058 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.661e-05/0.3629, allocations: 32.56 kB / 1.058 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009465/0.3638, allocations: 370.8 kB / 1.058 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/0.3639, allocations: 16.38 kB / 1.058 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.494e-05/0.3639, allocations: 24.36 kB / 1.058 GB, free: 3 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004324/0.3644, allocations: 207.9 kB / 1.058 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.3644, allocations: 0 / 1.058 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.3644, allocations: 0 / 1.058 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.3644, allocations: 4 kB / 1.058 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004776/0.3649, allocations: 143.8 kB / 1.058 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/0.366, allocations: 0.9148 MB / 1.059 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003132/0.3663, allocations: 149 kB / 1.059 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002346/0.3666, allocations: 80.31 kB / 1.059 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.3666, allocations: 7.984 kB / 1.059 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003994/0.367, allocations: 167.5 kB / 1.06 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.367, allocations: 0 / 1.06 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11): time 0.0008911/0.3679, allocations: 257.5 kB / 1.06 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.669e-05/0.368, allocations: 154.2 kB / 1.06 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.3682, allocations: 228.9 kB / 1.06 GB, free: 500 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.601e-05/0.3683, allocations: 29.7 kB / 1.06 GB, free: 464 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.3684, allocations: 156.1 kB / 1.06 GB, free: 304 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.168e-05/0.3684, allocations: 31.62 kB / 1.06 GB, free: 272 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.739e-05/0.3685, allocations: 49.69 kB / 1.06 GB, free: 216 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.3686, allocations: 338.7 kB / 1.061 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000323/0.369, allocations: 103.9 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003412/0.3693, allocations: 164.4 kB / 1.061 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005886/0.3699, allocations: 266.9 kB / 1.061 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.3699, allocations: 7.984 kB / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008434/0.3708, allocations: 372.4 kB / 1.062 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.939e-05/0.3708, allocations: 64.19 kB / 1.062 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.3708, allocations: 4 kB / 1.062 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.3709, allocations: 8.156 kB / 1.062 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.371, allocations: 27.97 kB / 1.062 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.371, allocations: 4 kB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004006/0.3714, allocations: 68.28 kB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.337e-05/0.3715, allocations: 19.98 kB / 1.062 GB, free: 14.69 MB / 0.8262 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.0001413/0.3716, allocations: 157.6 kB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.235e-05/0.3717, allocations: 15.81 kB / 1.062 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.767e-05/0.3717, allocations: 25.23 kB / 1.062 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.3717, allocations: 7.984 kB / 1.062 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3717, allocations: 0 / 1.062 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3718, allocations: 0 / 1.062 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000227/0.372, allocations: 261.5 kB / 1.062 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.372, allocations: 0 / 1.062 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.3721, allocations: 35.91 kB / 1.062 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.3722, allocations: 4 kB / 1.062 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.3722, allocations: 4 kB / 1.062 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.3722, allocations: 4 kB / 1.062 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3722, allocations: 0 / 1.062 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005532/0.3728, allocations: 244 kB / 1.063 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.111e-05/0.3728, allocations: 88.92 kB / 1.063 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.923e-05/0.3728, allocations: 8 kB / 1.063 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.373, allocations: 19.97 kB / 1.063 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.824e-05/0.3731, allocations: 15.98 kB / 1.063 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.3731, allocations: 7.938 kB / 1.063 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001398/0.3732, allocations: 164.5 kB / 1.063 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3732, allocations: 0 / 1.063 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002978/0.3735, allocations: 55.84 kB / 1.063 GB, free: 13.48 MB / 0.8262 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.0008832/0.3744, allocations: 0.7757 MB / 1.064 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007778/0.3752, allocations: 346.8 kB / 1.064 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3752, allocations: 0 / 1.064 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000273/0.3755, allocations: 75.88 kB / 1.064 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.3759, allocations: 57.92 kB / 1.064 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004019/0.3799, allocations: 2.544 MB / 1.067 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.3802, allocations: 0.7437 MB / 1.067 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001384/0.3804, allocations: 37.53 kB / 1.067 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.644e-05/0.3805, allocations: 63.41 kB / 1.067 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3805, allocations: 0 / 1.067 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02253/0.403, allocations: 5.139 MB / 1.072 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.196/7.599, allocations: 6.562 kB / 1.072 GB, free: 3.609 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) 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) Reference file matches