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: 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_10_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_10_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.001703/0.001703, allocations: 111.9 kB / 16.41 MB, free: 6.492 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.001982/0.001983, allocations: 183 kB / 17.34 MB, free: 5.762 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.513/1.513, 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 10.1.1-maint.10.0.x/package.mo): time 2.513/2.513, allocations: 437 MB / 0.7112 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 63.91 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8107/0.8123, allocations: 151.6 MB / 1.167 GB, free: 3.906 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002143/0.8145, allocations: 0.8937 MB / 1.168 GB, free: 3.02 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001216/0.8157, allocations: 0.896 MB / 1.169 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.996e-05/0.8158, allocations: 3.938 kB / 1.169 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.431e-05/0.8159, allocations: 11.86 kB / 1.169 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.906e-05/0.816, allocations: 11.88 kB / 1.169 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002162/0.8162, allocations: 71.84 kB / 1.169 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000224/0.8165, allocations: 135.7 kB / 1.169 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001728/0.8166, allocations: 57.47 kB / 1.169 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.91e-05/0.8167, allocations: 47.84 kB / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.63e-05/0.8168, allocations: 67.67 kB / 1.169 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.017e-05/0.8169, allocations: 12 kB / 1.17 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.957e-05/0.8169, allocations: 12 kB / 1.17 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.668e-05/0.8169, allocations: 39.84 kB / 1.17 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.7e-05/0.817, allocations: 51.67 kB / 1.17 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.8172, allocations: 139.5 kB / 1.17 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.8172, allocations: 4 kB / 1.17 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.353e-06/0.8172, allocations: 4 kB / 1.17 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.8172, allocations: 0 / 1.17 GB, free: 1.449 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.000657/0.8179, allocations: 444.8 kB / 1.17 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.8179, allocations: 8.922 kB / 1.17 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.374e-05/0.818, allocations: 20.75 kB / 1.17 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.8183, allocations: 220 kB / 1.17 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.8183, allocations: 12.38 kB / 1.17 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.8183, allocations: 12.38 kB / 1.17 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003239/0.8187, allocations: 142.2 kB / 1.171 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.8187, allocations: 192 / 1.171 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.067e-05/0.8187, allocations: 15.88 kB / 1.171 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.8187, allocations: 3.938 kB / 1.171 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003042/0.819, allocations: 133 kB / 1.171 GB, free: 380 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007908/0.8198, allocations: 492 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.8201, allocations: 90.41 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.8202, allocations: 45.03 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.738e-05/0.8202, allocations: 3.938 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.8203, allocations: 34.56 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.353e-06/0.8203, allocations: 0 / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0004684/0.8207, allocations: 157.4 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.8208, allocations: 59.39 kB / 1.172 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/0.821, allocations: 196 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.821, allocations: 29.7 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.55e-05/0.8211, allocations: 116 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.8211, allocations: 31.47 kB / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.319e-05/0.8212, allocations: 29.7 kB / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.8213, allocations: 322.8 kB / 1.172 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.8215, allocations: 39.97 kB / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.8216, allocations: 49.47 kB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000223/0.8218, allocations: 88.77 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.8218, allocations: 4 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003127/0.8221, allocations: 151.1 kB / 1.173 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.8222, allocations: 4 kB / 1.173 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.8222, allocations: 0 / 1.173 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.8222, allocations: 4 kB / 1.173 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.8224, allocations: 23.98 kB / 1.173 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.8224, allocations: 0 / 1.173 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.8225, allocations: 23.77 kB / 1.173 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.8225, allocations: 8 kB / 1.173 GB, free: 14.27 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 0.0001023/0.8226, allocations: 121.7 kB / 1.173 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/0.8227, allocations: 15.81 kB / 1.173 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003406/0.823, allocations: 147.3 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.823, allocations: 0 / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.823, allocations: 3.938 kB / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.823, allocations: 4.094 kB / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005891/0.8236, allocations: 448.9 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.8236, allocations: 4.094 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.8238, allocations: 23.92 kB / 1.173 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.8238, allocations: 4 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.8238, allocations: 4 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.8238, allocations: 4 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.8238, allocations: 4 kB / 1.173 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003497/0.8242, allocations: 245.8 kB / 1.174 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.365e-05/0.8242, allocations: 88.92 kB / 1.174 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.8243, allocations: 11.98 kB / 1.174 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.8244, allocations: 11.98 kB / 1.174 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.234e-05/0.8245, allocations: 19.91 kB / 1.174 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.8245, allocations: 8 kB / 1.174 GB, free: 13 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001075/0.8246, allocations: 140.1 kB / 1.174 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8246, allocations: 0 / 1.174 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002543/0.8249, allocations: 23.94 kB / 1.174 GB, free: 12.84 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.0001458/0.825, allocations: 107.2 kB / 1.174 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003099/0.8253, allocations: 95.89 kB / 1.174 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.8254, allocations: 4 kB / 1.174 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.8255, allocations: 47.98 kB / 1.174 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.8258, allocations: 16.16 kB / 1.174 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005253/0.8263, allocations: 283.2 kB / 1.174 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.8266, allocations: 0.7045 MB / 1.175 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.565e-05/0.8267, allocations: 23.44 kB / 1.175 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of SimCode: time 2.11e-07/0.8267, allocations: 3.938 kB / 1.175 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of Templates: time 0.003331/0.83, allocations: 1.564 MB / 1.177 GB, free: 9.926 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.makefile (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 & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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) Reference file matches