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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 108.6 kB / 16.41 MB, free: 6.441 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.001381/0.001382, allocations: 185.6 kB / 17.34 MB, free: 5.746 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.263/1.263, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.477/2.477, allocations: 461.9 MB / 0.7355 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 67.91 kB / 1.055 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7204/0.7217, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002108/0.7239, allocations: 0.8905 MB / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001128/0.725, allocations: 0.8897 MB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.7252, allocations: 4 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.742e-05/0.7252, allocations: 15.8 kB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.239e-05/0.7253, allocations: 7.875 kB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002225/0.7255, allocations: 63.92 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002219/0.7258, allocations: 147.6 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/0.726, allocations: 61.41 kB / 1.211 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.893e-05/0.7261, allocations: 47.86 kB / 1.211 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.565e-05/0.7262, allocations: 55.69 kB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.166e-05/0.7262, allocations: 23.92 kB / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.996e-05/0.7262, allocations: 12 kB / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.491e-05/0.7263, allocations: 35.84 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.106e-05/0.7263, allocations: 63.66 kB / 1.211 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.7265, allocations: 135.5 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.7265, allocations: 3.984 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.724e-06/0.7265, allocations: 0 / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.746e-06/0.7265, allocations: 0 / 1.211 GB, free: 11.18 MB / 0.9356 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.0006705/0.7272, allocations: 444.8 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.7273, allocations: 8.031 kB / 1.211 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.847e-05/0.7273, allocations: 16.75 kB / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002931/0.7276, allocations: 220 kB / 1.212 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.7277, allocations: 12.38 kB / 1.212 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/0.7277, allocations: 12.38 kB / 1.212 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003377/0.728, allocations: 150.2 kB / 1.212 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.7281, allocations: 192 / 1.212 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.7281, allocations: 11.88 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.7281, allocations: 4 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002889/0.7284, allocations: 124.5 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000857/0.7292, allocations: 496 kB / 1.212 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002638/0.7295, allocations: 90.47 kB / 1.212 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/0.7297, allocations: 40.84 kB / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/0.7297, allocations: 0 / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.623e-05/0.7298, allocations: 46.55 kB / 1.212 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.7298, allocations: 0 / 1.212 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0004944/0.7303, allocations: 157.6 kB / 1.213 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.7303, allocations: 51.41 kB / 1.213 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.7305, allocations: 191.5 kB / 1.213 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.7306, allocations: 29.7 kB / 1.213 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.045e-05/0.7306, allocations: 112 kB / 1.213 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.7307, allocations: 47.75 kB / 1.213 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.688e-05/0.7307, allocations: 21.72 kB / 1.213 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.7309, allocations: 326.8 kB / 1.213 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.731, allocations: 43.97 kB / 1.213 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.7311, allocations: 42.78 kB / 1.213 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002346/0.7313, allocations: 100.8 kB / 1.214 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.7314, allocations: 0 / 1.214 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003083/0.7317, allocations: 141.4 kB / 1.214 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.7317, allocations: 8 kB / 1.214 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.7317, allocations: 0 / 1.214 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.7317, allocations: 3.938 kB / 1.214 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.7319, allocations: 31.97 kB / 1.214 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.7319, allocations: 4 kB / 1.214 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.732, allocations: 19.78 kB / 1.214 GB, free: 8 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.732, allocations: 4 kB / 1.214 GB, free: 7.996 MB / 0.9356 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.953e-05/0.7321, allocations: 125.8 kB / 1.214 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.813e-05/0.7322, allocations: 15.8 kB / 1.214 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003351/0.7325, allocations: 139 kB / 1.214 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.7325, allocations: 4 kB / 1.214 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.7325, allocations: 3.938 kB / 1.214 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.7325, allocations: 0 / 1.214 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005527/0.7331, allocations: 452.9 kB / 1.214 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.7331, allocations: 4 kB / 1.214 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.7332, allocations: 20.08 kB / 1.214 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.7332, allocations: 4 kB / 1.214 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.7332, allocations: 4 kB / 1.214 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.7332, allocations: 0 / 1.214 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.7333, allocations: 3.938 kB / 1.214 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003265/0.7336, allocations: 249.8 kB / 1.215 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.641e-05/0.7337, allocations: 96.91 kB / 1.215 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.7337, allocations: 0 / 1.215 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.7338, allocations: 15.98 kB / 1.215 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.81e-05/0.7339, allocations: 11.92 kB / 1.215 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.7339, allocations: 4 kB / 1.215 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001096/0.734, allocations: 144.3 kB / 1.215 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.61e-07/0.734, allocations: 4 kB / 1.215 GB, free: 6.59 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002425/0.7343, allocations: 27.88 kB / 1.215 GB, free: 6.562 MB / 0.9356 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.0001318/0.7344, allocations: 111.2 kB / 1.215 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002963/0.7347, allocations: 91.89 kB / 1.215 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.7347, allocations: 0 / 1.215 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.7348, allocations: 55.91 kB / 1.215 GB, free: 6.301 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.7351, allocations: 15.98 kB / 1.215 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004591/0.7356, allocations: 279 kB / 1.216 GB, free: 5.969 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.7359, allocations: 0.7086 MB / 1.216 GB, free: 5.234 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.295e-05/0.7359, allocations: 19.42 kB / 1.216 GB, free: 5.219 MB / 0.9356 GB Notification: Performance of SimCode: time 3.4e-07/0.7359, allocations: 0 / 1.216 GB, free: 5.219 MB / 0.9356 GB Notification: Performance of Templates: time 0.003136/0.7391, allocations: 1.564 MB / 1.218 GB, free: 3.652 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.makefile (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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) Reference file matches