Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Reals.Validation.Line,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_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.001292/0.001292, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001255/0.001255, allocations: 192 kB / 16.25 MB, free: 6.621 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.308/1.308, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.592/2.592, allocations: 469.8 MB / 0.7421 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001777/0.001777, allocations: 66.56 kB / 0.9082 GB, free: 34.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/0.2659, allocations: 159.2 MB / 1.064 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.001996/0.2679, allocations: 0.9458 MB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001011/0.269, allocations: 0.8935 MB / 1.065 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.136e-05/0.269, allocations: 4 kB / 1.065 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.463e-05/0.2691, allocations: 11.86 kB / 1.065 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.161e-05/0.2692, allocations: 0 / 1.065 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001616/0.2693, allocations: 51.95 kB / 1.065 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001838/0.2695, allocations: 135.7 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.2697, allocations: 61.44 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.854e-05/0.2698, allocations: 55.67 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.426e-05/0.2698, allocations: 63.69 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.581e-05/0.2699, allocations: 12 kB / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.275e-05/0.2699, allocations: 16 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.578e-05/0.2699, allocations: 35.89 kB / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.707e-05/0.27, allocations: 63.66 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001502/0.2702, allocations: 131.5 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2702, allocations: 3.984 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2702, allocations: 4 kB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.2702, allocations: 0 / 1.066 GB, free: 11.97 MB / 0.8262 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.0006383/0.2708, allocations: 431.4 kB / 1.066 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.2709, allocations: 8.031 kB / 1.066 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.951e-05/0.2709, allocations: 50.73 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.658e-05/0.271, allocations: 16.75 kB / 1.067 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.2712, allocations: 212.9 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.2712, allocations: 8.375 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.2712, allocations: 12.38 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00032/0.2716, allocations: 150.2 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.2716, allocations: 3.938 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.2716, allocations: 4 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.2716, allocations: 4 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003009/0.2719, allocations: 131.9 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007434/0.2727, allocations: 499.9 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.2729, allocations: 90.48 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.273, allocations: 44.83 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.273, allocations: 4 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.2731, allocations: 38.5 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.2731, allocations: 192 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0004412/0.2735, allocations: 157.5 kB / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.2736, allocations: 55.34 kB / 1.068 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.2737, allocations: 199.8 kB / 1.068 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.2738, allocations: 29.7 kB / 1.068 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.437e-05/0.2739, allocations: 112 kB / 1.068 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.083e-05/0.2739, allocations: 35.45 kB / 1.068 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.967e-05/0.2739, allocations: 29.66 kB / 1.068 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.2741, allocations: 330.8 kB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.2742, allocations: 39.98 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.2743, allocations: 41.09 kB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002367/0.2746, allocations: 97.31 kB / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.2746, allocations: 3.938 kB / 1.069 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002996/0.2749, allocations: 150.3 kB / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.2749, allocations: 9.25 kB / 1.069 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.2749, allocations: 0 / 1.069 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.2749, allocations: 0 / 1.069 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.2751, allocations: 23.98 kB / 1.069 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.2751, allocations: 0 / 1.069 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.2752, allocations: 27.81 kB / 1.069 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.2752, allocations: 0 / 1.069 GB, free: 8.75 MB / 0.8262 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 9.383e-05/0.2753, allocations: 121.8 kB / 1.069 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.414e-05/0.2754, allocations: 19.75 kB / 1.069 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003962/0.2758, allocations: 139 kB / 1.069 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.2758, allocations: 0 / 1.069 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/0.2758, allocations: 0 / 1.069 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.842e-06/0.2758, allocations: 0 / 1.069 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007179/0.2765, allocations: 456.8 kB / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.2765, allocations: 4 kB / 1.07 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.2767, allocations: 23.98 kB / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2767, allocations: 0 / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.2767, allocations: 4 kB / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.2767, allocations: 7.922 kB / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.2767, allocations: 0 / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003322/0.277, allocations: 245.9 kB / 1.07 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.211e-05/0.2771, allocations: 100.8 kB / 1.07 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.2771, allocations: 0 / 1.07 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.2773, allocations: 16.17 kB / 1.07 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.87e-05/0.2773, allocations: 15.92 kB / 1.07 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.2773, allocations: 7.938 kB / 1.07 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000117/0.2774, allocations: 145.2 kB / 1.07 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2775, allocations: 0 / 1.07 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002322/0.2777, allocations: 24 kB / 1.07 GB, free: 7.324 MB / 0.8262 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.0007267/0.2784, allocations: 0.785 MB / 1.071 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002938/0.2787, allocations: 103.9 kB / 1.071 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2787, allocations: 0 / 1.071 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001282/0.2789, allocations: 51.91 kB / 1.071 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.2792, allocations: 21.2 kB / 1.071 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00219/0.2814, allocations: 1.906 MB / 1.073 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.2817, allocations: 0.7045 MB / 1.074 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.215e-05/0.2818, allocations: 17.08 kB / 1.074 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.001e-05/0.2819, allocations: 47.36 kB / 1.074 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of SimCode: time 2.71e-07/0.2819, allocations: 0 / 1.074 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2793/0.5611, allocations: 2.611 MB / 1.076 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002328/0.5614, allocations: 205 kB / 1.077 GB, free: 0.7695 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.649/2.211, allocations: 0 / 1.077 GB, free: 0.7695 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Line_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Line.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches