Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="Buildings_10_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.006202/0.006202, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001186/0.001187, allocations: 197.2 kB / 16.68 MB, free: 5.93 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.529/2.529, allocations: 437 MB / 0.7105 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001497, allocations: 63.91 kB / 1.018 GB, free: 9.84 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8699/0.8714, allocations: 151.6 MB / 1.166 GB, free: 3.742 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002348/0.8738, allocations: 0.8908 MB / 1.167 GB, free: 2.855 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001334/0.8751, allocations: 0.8921 MB / 1.168 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.8753, allocations: 7.938 kB / 1.168 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.553e-05/0.8754, allocations: 11.86 kB / 1.168 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.8755, allocations: 7.875 kB / 1.168 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002743/0.8758, allocations: 75.78 kB / 1.168 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002348/0.876, allocations: 131.8 kB / 1.168 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001775/0.8762, allocations: 61.45 kB / 1.168 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.654e-05/0.8763, allocations: 43.86 kB / 1.168 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.886e-05/0.8764, allocations: 59.69 kB / 1.168 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.997e-05/0.8764, allocations: 16 kB / 1.168 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.186e-05/0.8765, allocations: 12 kB / 1.168 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.026e-05/0.8765, allocations: 35.84 kB / 1.168 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.74e-05/0.8766, allocations: 71.58 kB / 1.168 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001816/0.8768, allocations: 135.5 kB / 1.169 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.8768, allocations: 0 / 1.169 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.014e-06/0.8768, allocations: 0 / 1.169 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.8768, allocations: 0 / 1.169 GB, free: 1.289 MB / 0.8887 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.0006914/0.8775, allocations: 441.4 kB / 1.169 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.8775, allocations: 12.92 kB / 1.169 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.433e-05/0.8776, allocations: 46.73 kB / 1.169 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.892e-05/0.8777, allocations: 16.75 kB / 1.169 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003261/0.878, allocations: 223.9 kB / 1.169 GB, free: 480 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.878, allocations: 8.375 kB / 1.169 GB, free: 472 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.453e-05/0.878, allocations: 16.38 kB / 1.169 GB, free: 456 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003551/0.8784, allocations: 146.1 kB / 1.169 GB, free: 304 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.8784, allocations: 3.938 kB / 1.169 GB, free: 300 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.8785, allocations: 8 kB / 1.169 GB, free: 292 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.8785, allocations: 8 kB / 1.169 GB, free: 284 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003062/0.8788, allocations: 127.9 kB / 1.17 GB, free: 156 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008411/0.8796, allocations: 488 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002183/0.8799, allocations: 102.3 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.88, allocations: 36.84 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/0.88, allocations: 4 kB / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.8801, allocations: 38.55 kB / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.8801, allocations: 0 / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0004678/0.8805, allocations: 161.6 kB / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.8806, allocations: 59.39 kB / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001832/0.8808, allocations: 188 kB / 1.171 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.8808, allocations: 33.69 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.813e-05/0.8809, allocations: 108 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.518e-05/0.8809, allocations: 35.47 kB / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.562e-05/0.881, allocations: 29.7 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.8811, allocations: 322.8 kB / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.8813, allocations: 43.97 kB / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.8814, allocations: 45.47 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002262/0.8816, allocations: 92.77 kB / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.8816, allocations: 3.938 kB / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003055/0.8819, allocations: 150.7 kB / 1.171 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.882, allocations: 4 kB / 1.171 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.882, allocations: 0 / 1.171 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.882, allocations: 0 / 1.171 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.8821, allocations: 23.98 kB / 1.171 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.8822, allocations: 0 / 1.171 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.8823, allocations: 27.7 kB / 1.172 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.8823, allocations: 15.92 kB / 1.172 GB, free: 14.04 MB / 0.9044 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.341e-05/0.8824, allocations: 121.8 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.656e-05/0.8824, allocations: 15.81 kB / 1.172 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003417/0.8828, allocations: 143.3 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.8828, allocations: 96 / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.8828, allocations: 3.938 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.8828, allocations: 0 / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005675/0.8834, allocations: 456.8 kB / 1.172 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.8834, allocations: 0 / 1.172 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.8835, allocations: 23.92 kB / 1.172 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.8835, allocations: 4 kB / 1.172 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.8835, allocations: 4 kB / 1.172 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.8835, allocations: 0 / 1.172 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.8835, allocations: 4 kB / 1.172 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003909/0.8839, allocations: 242 kB / 1.172 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.234e-05/0.884, allocations: 88.92 kB / 1.173 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.884, allocations: 7.984 kB / 1.173 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.8842, allocations: 23.98 kB / 1.173 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.995e-05/0.8842, allocations: 15.92 kB / 1.173 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.779e-06/0.8842, allocations: 4 kB / 1.173 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001117/0.8844, allocations: 140 kB / 1.173 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.9e-07/0.8844, allocations: 0 / 1.173 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002485/0.8846, allocations: 27.94 kB / 1.173 GB, free: 12.62 MB / 0.9044 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.0006736/0.8853, allocations: 0.7822 MB / 1.174 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000311/0.8856, allocations: 99.88 kB / 1.174 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.8856, allocations: 0 / 1.174 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.8858, allocations: 47.91 kB / 1.174 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.8861, allocations: 15.94 kB / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002168/0.8883, allocations: 1.894 MB / 1.176 GB, free: 9.648 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.8886, allocations: 0.7123 MB / 1.176 GB, free: 8.91 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 5.425e-05/0.8886, allocations: 13.08 kB / 1.176 GB, free: 8.898 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.552e-05/0.8887, allocations: 39.42 kB / 1.176 GB, free: 8.859 MB / 0.9044 GB Notification: Performance of SimCode: time 3.4e-07/0.8887, allocations: 0 / 1.176 GB, free: 8.859 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01946/0.9082, allocations: 2.807 MB / 1.179 GB, free: 6.145 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.598/8.507, allocations: 7.984 kB / 1.179 GB, free: 6.137 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Line_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Line.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,line1.u,line1.y,line2.y,line3.y Variables in the result:f1.k,f1.y,f2.k,f2.y,line1.f1,line1.f2,line1.limitAbove,line1.limitBelow,line1.u,line1.x1,line1.x2,line1.y,line2.f1,line2.f2,line2.limitAbove,line2.limitBelow,line2.u,line2.x1,line2.x2,line2.y,line3.f1,line3.f2,line3.limitAbove,line3.limitBelow,line3.u,line3.x1,line3.x2,line3.y,ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,time,x1.k,x1.y,x2.k,x2.y