Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001952/0.001952, allocations: 193.2 kB / 16.14 MB, free: 6.652 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.613/1.613, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.635/2.635, allocations: 390.2 MB / 0.6642 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001733/0.001733, allocations: 63.91 kB / 0.8119 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9242/0.9259, allocations: 140.4 MB / 0.9489 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Line): time 0.002385/0.9284, allocations: 0.946 MB / 0.9499 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001114/0.9295, allocations: 0.8853 MB / 0.9507 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.676e-05/0.9296, allocations: 1.344 kB / 0.9507 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.552e-05/0.9297, allocations: 9.328 kB / 0.9507 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.175e-05/0.9298, allocations: 3.938 kB / 0.9507 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002108/0.93, allocations: 56.08 kB / 0.9508 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002182/0.9302, allocations: 133.3 kB / 0.9509 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002297/0.9305, allocations: 56.7 kB / 0.951 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.586e-05/0.9306, allocations: 40.36 kB / 0.951 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.007e-05/0.9307, allocations: 62.67 kB / 0.9511 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.595e-05/0.9307, allocations: 13.56 kB / 0.9511 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.814e-05/0.9307, allocations: 8.25 kB / 0.9511 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.661e-05/0.9308, allocations: 28.03 kB / 0.9511 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.746e-05/0.9309, allocations: 54.61 kB / 0.9512 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002008/0.9311, allocations: 129.6 kB / 0.9513 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.9311, allocations: 0 / 0.9513 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.957e-06/0.9311, allocations: 1.375 kB / 0.9513 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.9311, allocations: 7.938 kB / 0.9513 GB, free: 7.273 MB / 0.7169 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.0007411/0.9319, allocations: 446.5 kB / 0.9517 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.638e-05/0.9319, allocations: 8.25 kB / 0.9517 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.804e-05/0.932, allocations: 17 kB / 0.9518 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.9323, allocations: 210 kB / 0.952 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.9323, allocations: 9.75 kB / 0.952 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.618e-05/0.9324, allocations: 16.94 kB / 0.952 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004259/0.9328, allocations: 143.2 kB / 0.9521 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.9328, allocations: 1.562 kB / 0.9521 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.677e-05/0.9328, allocations: 13.19 kB / 0.9521 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.9329, allocations: 3.812 kB / 0.9521 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003489/0.9332, allocations: 125 kB / 0.9523 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009161/0.9341, allocations: 0.4918 MB / 0.9527 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002344/0.9344, allocations: 84.27 kB / 0.9528 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.9345, allocations: 46.73 kB / 0.9529 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.9346, allocations: 1.344 kB / 0.9529 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.9346, allocations: 35.66 kB / 0.9529 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.9346, allocations: 1.406 kB / 0.9529 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0005491/0.9352, allocations: 157.5 kB / 0.953 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.9352, allocations: 52.31 kB / 0.9531 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002363/0.9355, allocations: 191.3 kB / 0.9533 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.9355, allocations: 31.27 kB / 0.9533 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.9356, allocations: 114.6 kB / 0.9534 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.9357, allocations: 39.59 kB / 0.9535 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.394e-05/0.9357, allocations: 24.94 kB / 0.9535 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.998e-05/0.9359, allocations: 326.7 kB / 0.9538 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.936, allocations: 38.14 kB / 0.9538 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.9361, allocations: 42.88 kB / 0.9539 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002565/0.9364, allocations: 98.91 kB / 0.954 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.9364, allocations: 1.375 kB / 0.954 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003264/0.9367, allocations: 146.6 kB / 0.9541 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/0.9368, allocations: 4.969 kB / 0.9541 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.9368, allocations: 1.125 kB / 0.9541 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.9368, allocations: 7.875 kB / 0.9541 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001736/0.937, allocations: 24.42 kB / 0.9541 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.937, allocations: 4.906 kB / 0.9541 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.9371, allocations: 27.05 kB / 0.9542 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.9371, allocations: 2.656 kB / 0.9542 GB, free: 4.82 MB / 0.7169 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.433e-05/0.9372, allocations: 129.9 kB / 0.9543 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.74e-05/0.9373, allocations: 15.41 kB / 0.9543 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003557/0.9376, allocations: 139.8 kB / 0.9544 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.9377, allocations: 1.125 kB / 0.9544 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.9377, allocations: 0 / 0.9544 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.9377, allocations: 5.016 kB / 0.9545 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005311/0.9382, allocations: 453.9 kB / 0.9549 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.9382, allocations: 1.281 kB / 0.9549 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.9383, allocations: 28.64 kB / 0.9549 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.9384, allocations: 1.094 kB / 0.9549 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.9384, allocations: 6.453 kB / 0.9549 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.9384, allocations: 0.75 kB / 0.9549 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.9384, allocations: 5.5 kB / 0.9549 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003429/0.9387, allocations: 249.9 kB / 0.9552 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.408e-05/0.9388, allocations: 89.58 kB / 0.9552 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.9388, allocations: 2.219 kB / 0.9553 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.939, allocations: 21.14 kB / 0.9553 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.945e-05/0.939, allocations: 16.52 kB / 0.9553 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.9391, allocations: 3.688 kB / 0.9553 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001147/0.9392, allocations: 152 kB / 0.9554 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9392, allocations: 0 / 0.9554 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002605/0.9395, allocations: 26.53 kB / 0.9555 GB, free: 3.676 MB / 0.7169 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.0001837/0.9396, allocations: 98.84 kB / 0.9556 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003347/0.94, allocations: 100.6 kB / 0.9557 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.94, allocations: 0 / 0.9557 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.9401, allocations: 52.19 kB / 0.9557 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/0.9406, allocations: 17.45 kB / 0.9557 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005232/0.9411, allocations: 289.8 kB / 0.956 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.9413, allocations: 0.7133 MB / 0.9567 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.213e-05/0.9414, allocations: 12.92 kB / 0.9567 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.069e-05/0.9414, allocations: 18.97 kB / 0.9567 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.9415, allocations: 1.375 kB / 0.9567 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of Templates: time 0.004009/0.9455, allocations: 1.041 MB / 0.9577 GB, free: 2.023 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Line.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches