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.001515/0.001515, allocations: 115.2 kB / 16.42 MB, free: 6.5 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.001688/0.001688, allocations: 183.9 kB / 17.35 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.503/1.503, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.789/2.789, allocations: 461.9 MB / 0.7355 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 59.91 kB / 1.055 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9289/0.9304, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002334/0.9328, allocations: 0.8881 MB / 1.209 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001279/0.9341, allocations: 0.8897 MB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001283/0.9342, allocations: 4 kB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.221e-05/0.9343, allocations: 11.81 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.819e-05/0.9344, allocations: 7.875 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002453/0.9347, allocations: 63.91 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002438/0.9349, allocations: 139.7 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002041/0.9352, allocations: 65.39 kB / 1.211 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.9353, allocations: 55.84 kB / 1.211 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.421e-05/0.9354, allocations: 55.69 kB / 1.211 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.195e-05/0.9354, allocations: 16 kB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.354e-05/0.9354, allocations: 12 kB / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4e-05/0.9355, allocations: 35.84 kB / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.262e-05/0.9355, allocations: 59.66 kB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.9357, allocations: 147.4 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.9358, allocations: 0 / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9358, allocations: 0 / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.9358, allocations: 0 / 1.211 GB, free: 11.2 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.0007045/0.9365, allocations: 448.8 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.9365, allocations: 8.031 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.899e-05/0.9366, allocations: 16.75 kB / 1.211 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003214/0.9369, allocations: 215 kB / 1.212 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.635e-05/0.937, allocations: 8.375 kB / 1.212 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/0.937, allocations: 12.38 kB / 1.212 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003575/0.9374, allocations: 154.2 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.9374, allocations: 8.125 kB / 1.212 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.398e-05/0.9374, allocations: 7.938 kB / 1.212 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.383e-06/0.9374, allocations: 4 kB / 1.212 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000325/0.9378, allocations: 128.4 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008841/0.9387, allocations: 488.1 kB / 1.212 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002022/0.9389, allocations: 90.41 kB / 1.212 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.939, allocations: 48.83 kB / 1.212 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.939, allocations: 0 / 1.212 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.9391, allocations: 38.56 kB / 1.212 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.9391, allocations: 0 / 1.212 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0004947/0.9396, allocations: 161.6 kB / 1.213 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.9396, allocations: 51.41 kB / 1.213 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000246/0.9399, allocations: 191.5 kB / 1.213 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.9399, allocations: 25.7 kB / 1.213 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.249e-05/0.94, allocations: 116 kB / 1.213 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.097e-05/0.94, allocations: 39.44 kB / 1.213 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.078e-05/0.9401, allocations: 25.72 kB / 1.213 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.9402, allocations: 326.8 kB / 1.213 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.9403, allocations: 39.91 kB / 1.213 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.9405, allocations: 44.34 kB / 1.213 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002265/0.9407, allocations: 100.8 kB / 1.214 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.9407, allocations: 4 kB / 1.214 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003083/0.941, allocations: 145.4 kB / 1.214 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.941, allocations: 9.812 kB / 1.214 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.9411, allocations: 0 / 1.214 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.9411, allocations: 4 kB / 1.214 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.9412, allocations: 31.92 kB / 1.214 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.9413, allocations: 0 / 1.214 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.737e-05/0.9414, allocations: 23.77 kB / 1.214 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.9414, allocations: 4 kB / 1.214 GB, free: 8.012 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 9.783e-05/0.9415, allocations: 117.8 kB / 1.214 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.75e-05/0.9415, allocations: 19.75 kB / 1.214 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000324/0.9418, allocations: 135 kB / 1.214 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.9419, allocations: 3.938 kB / 1.214 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.9419, allocations: 8 kB / 1.214 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.69e-05/0.9419, allocations: 93 kB / 1.214 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.942, allocations: 0 / 1.214 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.9421, allocations: 15.98 kB / 1.214 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.606e-05/0.9421, allocations: 7.984 kB / 1.214 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003634/0.9425, allocations: 204.8 kB / 1.214 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003149/0.9428, allocations: 298.5 kB / 1.215 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001156/0.943, allocations: 44.25 kB / 1.215 GB, free: 7.02 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.817e-05/0.9431, allocations: 140.1 kB / 1.215 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of Backend: time 6.51e-07/0.9431, allocations: 3.938 kB / 1.215 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004973/0.9436, allocations: 145.4 kB / 1.215 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0006027/0.9442, allocations: 0.6714 MB / 1.216 GB, free: 6.016 MB / 0.9356 GB Notification: Performance of Templates: time 0.004/0.9482, allocations: 1.503 MB / 1.217 GB, free: 4.516 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