Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.Continuous.Validation.Line,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Line,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Line",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.0008368/0.0008367, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005015/0.005015, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.23/1.23, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.079/2.079, allocations: 390.9 MB / 0.6664 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002807/0.0002807, allocations: 15.98 kB / 0.8161 GB, free: 13.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5576/0.5579, allocations: 142.4 MB / 0.9552 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Line): time 0.0008169/0.5588, allocations: 0.6027 MB / 0.9558 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008476/0.5596, allocations: 0.8801 MB / 0.9566 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.577e-05/0.5597, allocations: 1.938 kB / 0.9566 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.965e-05/0.5598, allocations: 7.922 kB / 0.9567 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.729e-05/0.5598, allocations: 4.906 kB / 0.9567 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000142/0.56, allocations: 53.12 kB / 0.9567 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.5601, allocations: 132.6 kB / 0.9568 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.5603, allocations: 56.83 kB / 0.9569 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.146e-05/0.5603, allocations: 33.2 kB / 0.9569 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.451e-05/0.5604, allocations: 54.59 kB / 0.957 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.5604, allocations: 4.406 kB / 0.957 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.382e-05/0.5604, allocations: 4.562 kB / 0.957 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.979e-05/0.5604, allocations: 16.42 kB / 0.957 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.201e-05/0.5605, allocations: 78.48 kB / 0.9571 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.76e-05/0.5606, allocations: 122.2 kB / 0.9572 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.5606, allocations: 5.469 kB / 0.9572 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.82e-07/0.5606, allocations: 3.938 kB / 0.9572 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.5606, allocations: 0 / 0.9572 GB, free: 6.184 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0004366/0.5611, allocations: 431.4 kB / 0.9576 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.5611, allocations: 9.844 kB / 0.9576 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.711e-05/0.5611, allocations: 51.83 kB / 0.9577 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.434e-05/0.5612, allocations: 16.16 kB / 0.9577 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.5613, allocations: 205.8 kB / 0.9579 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.5613, allocations: 14.19 kB / 0.9579 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.5614, allocations: 12.06 kB / 0.9579 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002805/0.5617, allocations: 148.7 kB / 0.958 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.5617, allocations: 3.938 kB / 0.958 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.5617, allocations: 10.23 kB / 0.9581 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.5617, allocations: 3.125 kB / 0.9581 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002769/0.562, allocations: 135.1 kB / 0.9582 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005931/0.5626, allocations: 0.505 MB / 0.9587 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.5628, allocations: 93.25 kB / 0.9588 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.5629, allocations: 56 kB / 0.9588 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.5629, allocations: 1.781 kB / 0.9588 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/0.5629, allocations: 36.36 kB / 0.9589 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.113e-06/0.5629, allocations: 0 / 0.9589 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0004138/0.5634, allocations: 171.9 kB / 0.959 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.026e-05/0.5634, allocations: 56.78 kB / 0.9591 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.5635, allocations: 191.7 kB / 0.9593 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.5635, allocations: 27.08 kB / 0.9593 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.165e-05/0.5636, allocations: 113.5 kB / 0.9594 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.5636, allocations: 31.59 kB / 0.9594 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.427e-05/0.5636, allocations: 28.39 kB / 0.9595 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.273e-05/0.5637, allocations: 327 kB / 0.9598 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.5638, allocations: 42.09 kB / 0.9598 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.5639, allocations: 47.47 kB / 0.9599 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002165/0.5641, allocations: 107 kB / 0.96 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5642, allocations: 5.312 kB / 0.96 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002799/0.5644, allocations: 151.8 kB / 0.9601 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.5645, allocations: 8.062 kB / 0.9601 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.5645, allocations: 1.375 kB / 0.9601 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.5645, allocations: 0 / 0.9601 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.5646, allocations: 35.3 kB / 0.9601 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.506e-06/0.5646, allocations: 0 / 0.9601 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.807e-05/0.5647, allocations: 29.3 kB / 0.9602 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.5648, allocations: 6.75 kB / 0.9602 GB, free: 3.676 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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 5.802e-05/0.5648, allocations: 121.9 kB / 0.9603 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.5649, allocations: 10.78 kB / 0.9603 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003148/0.5652, allocations: 154.6 kB / 0.9605 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.5652, allocations: 1.156 kB / 0.9605 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.5652, allocations: 0 / 0.9605 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.5652, allocations: 1.062 kB / 0.9605 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004679/0.5657, allocations: 470.9 kB / 0.9609 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.5657, allocations: 2.156 kB / 0.9609 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.5658, allocations: 26.39 kB / 0.9609 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.5658, allocations: 2.031 kB / 0.9609 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.5658, allocations: 1.969 kB / 0.9609 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.5658, allocations: 1.031 kB / 0.9609 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.5658, allocations: 4.906 kB / 0.9609 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002832/0.5661, allocations: 260 kB / 0.9612 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.937e-05/0.5662, allocations: 93.89 kB / 0.9613 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.5662, allocations: 6.016 kB / 0.9613 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.5663, allocations: 25.95 kB / 0.9613 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/0.5664, allocations: 12.64 kB / 0.9613 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.5664, allocations: 3.719 kB / 0.9613 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.506e-05/0.5665, allocations: 147.2 kB / 0.9615 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5665, allocations: 4.906 kB / 0.9615 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002339/0.5667, allocations: 21.88 kB / 0.9615 GB, free: 2.543 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0004609/0.5672, allocations: 0.7929 MB / 0.9623 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002667/0.5675, allocations: 113.2 kB / 0.9624 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.5675, allocations: 0 / 0.9624 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.5676, allocations: 53.53 kB / 0.9624 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.5679, allocations: 15.12 kB / 0.9624 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001714/0.5696, allocations: 1.946 MB / 0.9643 GB, free: 108 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.5699, allocations: 0.7125 MB / 0.965 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.603e-05/0.5699, allocations: 13.83 kB / 0.965 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.392e-05/0.57, allocations: 43.55 kB / 0.9651 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of SimCode: time 2.71e-07/0.57, allocations: 3.938 kB / 0.9651 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.27/2.84, allocations: 2.473 MB / 0.9675 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001946/2.84, allocations: 204 kB / 0.9677 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.589/4.428, allocations: 0 / 0.9677 GB, free: 13.96 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Line_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Line.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Line.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches