Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.Reals.Validation.Line,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="Buildings_latest_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.0094/0.0094, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001889/0.001889, allocations: 187.7 kB / 16.67 MB, free: 5.977 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.728/2.728, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 67.89 kB / 1.054 GB, free: 7.586 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3504, allocations: 157.4 MB / 1.207 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002264/0.3527, allocations: 0.8928 MB / 1.208 GB, free: 9.188 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001143/0.3538, allocations: 0.8741 MB / 1.209 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.354, allocations: 4 kB / 1.209 GB, free: 8.297 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.138e-05/0.354, allocations: 19.73 kB / 1.209 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.376e-05/0.3541, allocations: 11.86 kB / 1.209 GB, free: 8.266 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000232/0.3544, allocations: 67.92 kB / 1.209 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002174/0.3546, allocations: 139.7 kB / 1.209 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001746/0.3548, allocations: 65.39 kB / 1.209 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.136e-05/0.3549, allocations: 51.84 kB / 1.209 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.814e-05/0.355, allocations: 55.7 kB / 1.209 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.347e-05/0.355, allocations: 16 kB / 1.209 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.943e-05/0.355, allocations: 12 kB / 1.209 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.614e-05/0.3551, allocations: 39.83 kB / 1.21 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.811e-05/0.3551, allocations: 59.66 kB / 1.21 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.3553, allocations: 143.4 kB / 1.21 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3553, allocations: 0 / 1.21 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3553, allocations: 0 / 1.21 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.3553, allocations: 0 / 1.21 GB, free: 7.625 MB / 0.9669 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.000637/0.356, allocations: 443.3 kB / 1.21 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.356, allocations: 12.62 kB / 1.21 GB, free: 7.129 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.805e-05/0.3561, allocations: 50.67 kB / 1.21 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.98e-05/0.3561, allocations: 12.84 kB / 1.21 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002832/0.3564, allocations: 222 kB / 1.21 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.3564, allocations: 12.38 kB / 1.21 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.3565, allocations: 12.38 kB / 1.21 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003259/0.3568, allocations: 142.2 kB / 1.211 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.3568, allocations: 3.938 kB / 1.211 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.3568, allocations: 7.938 kB / 1.211 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-06/0.3569, allocations: 4 kB / 1.211 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003076/0.3572, allocations: 127.9 kB / 1.211 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000754/0.3579, allocations: 500 kB / 1.211 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.3581, allocations: 90.47 kB / 1.211 GB, free: 5.859 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.3583, allocations: 40.84 kB / 1.211 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.212e-05/0.3583, allocations: 8 kB / 1.211 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.3583, allocations: 34.55 kB / 1.211 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.3584, allocations: 0 / 1.211 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0004699/0.3588, allocations: 153.6 kB / 1.212 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.3589, allocations: 55.39 kB / 1.212 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.3591, allocations: 199.5 kB / 1.212 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.3591, allocations: 29.7 kB / 1.212 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.931e-05/0.3592, allocations: 115.9 kB / 1.212 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.2e-05/0.3592, allocations: 31.5 kB / 1.212 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.735e-05/0.3592, allocations: 29.7 kB / 1.212 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.415e-05/0.3593, allocations: 322.8 kB / 1.212 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.3595, allocations: 43.97 kB / 1.212 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.3596, allocations: 39.97 kB / 1.212 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002391/0.3599, allocations: 96.83 kB / 1.212 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.3599, allocations: 3.938 kB / 1.212 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003114/0.3602, allocations: 147.7 kB / 1.213 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.3602, allocations: 9.719 kB / 1.213 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.3602, allocations: 0 / 1.213 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.3602, allocations: 3.938 kB / 1.213 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.3604, allocations: 27.98 kB / 1.213 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.3604, allocations: 3.938 kB / 1.213 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.3605, allocations: 31.81 kB / 1.213 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.3605, allocations: 0 / 1.213 GB, free: 4.379 MB / 0.9669 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 8.862e-05/0.3606, allocations: 126.3 kB / 1.213 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.858e-05/0.3607, allocations: 12.19 kB / 1.213 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003432/0.361, allocations: 150.9 kB / 1.213 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.361, allocations: 0 / 1.213 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.3611, allocations: 0 / 1.213 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3611, allocations: 0 / 1.213 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00056/0.3616, allocations: 460.7 kB / 1.213 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.3616, allocations: 0 / 1.213 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.3618, allocations: 28.08 kB / 1.213 GB, free: 3.531 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3618, allocations: 0 / 1.213 GB, free: 3.531 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.3618, allocations: 4 kB / 1.213 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3618, allocations: 0 / 1.213 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.3618, allocations: 7.938 kB / 1.213 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003409/0.3621, allocations: 245.8 kB / 1.214 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.142e-05/0.3622, allocations: 96.91 kB / 1.214 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.3622, allocations: 0 / 1.214 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.3624, allocations: 11.98 kB / 1.214 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/0.3624, allocations: 19.92 kB / 1.214 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.3624, allocations: 0 / 1.214 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001036/0.3626, allocations: 144.1 kB / 1.214 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3626, allocations: 0 / 1.214 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002517/0.3628, allocations: 24 kB / 1.214 GB, free: 2.945 MB / 0.9669 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.0006309/0.3634, allocations: 0.7772 MB / 1.215 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003019/0.3638, allocations: 91.89 kB / 1.215 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3638, allocations: 0 / 1.215 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.3639, allocations: 52.38 kB / 1.215 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.3642, allocations: 23.88 kB / 1.215 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002173/0.3664, allocations: 1.893 MB / 1.217 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/0.3666, allocations: 0.7122 MB / 1.217 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.216e-05/0.3667, allocations: 13.08 kB / 1.217 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.843e-05/0.3668, allocations: 43.42 kB / 1.217 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of SimCode: time 1.563e-06/0.3668, allocations: 0 / 1.217 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0183/0.3851, allocations: 2.86 MB / 1.22 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.442/7.827, allocations: 12.47 kB / 1.22 GB, free: 12.41 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Line_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Line.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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