Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 91.53 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001727/0.001727, allocations: 181.6 kB / 16.92 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.428/1.428, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.449/2.449, allocations: 390.9 MB / 0.667 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003798/0.00038, allocations: 12.28 kB / 0.8166 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7819/0.7824, allocations: 142.4 MB / 0.9557 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp): time 0.0008381/0.7832, allocations: 404.5 kB / 0.9561 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007881/0.784, allocations: 0.7945 MB / 0.9569 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.314e-05/0.7841, allocations: 1.281 kB / 0.9569 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.674e-05/0.7841, allocations: 3.938 kB / 0.9569 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.697e-05/0.7842, allocations: 3.984 kB / 0.9569 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001324/0.7843, allocations: 10.39 kB / 0.9569 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.786e-05/0.7844, allocations: 20.47 kB / 0.9569 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.869e-05/0.7845, allocations: 6.969 kB / 0.9569 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.357e-05/0.7846, allocations: 7.859 kB / 0.9569 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.845e-05/0.7846, allocations: 17.95 kB / 0.957 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.7846, allocations: 1.375 kB / 0.957 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.699e-06/0.7846, allocations: 0.875 kB / 0.957 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.652e-05/0.7847, allocations: 1.219 kB / 0.957 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.964e-05/0.7847, allocations: 35.11 kB / 0.957 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.355e-05/0.7848, allocations: 14.89 kB / 0.957 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.7848, allocations: 1.438 kB / 0.957 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7848, allocations: 0 / 0.957 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.7848, allocations: 0 / 0.957 GB, free: 6.688 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003464/0.7851, allocations: 346.3 kB / 0.9573 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.7852, allocations: 9.875 kB / 0.9574 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.663e-05/0.7852, allocations: 1.75 kB / 0.9574 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.218e-05/0.7853, allocations: 169.5 kB / 0.9575 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.7853, allocations: 1.469 kB / 0.9575 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.756e-06/0.7853, allocations: 1.312 kB / 0.9575 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.7855, allocations: 63 kB / 0.9576 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.7855, allocations: 192 / 0.9576 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.7856, allocations: 5.312 kB / 0.9576 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.7856, allocations: 0 / 0.9576 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001774/0.7858, allocations: 40.28 kB / 0.9576 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000271/0.786, allocations: 248.9 kB / 0.9579 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.7862, allocations: 51.7 kB / 0.9579 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.936e-05/0.7863, allocations: 35.31 kB / 0.9579 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.7863, allocations: 1.438 kB / 0.9579 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.582e-05/0.7863, allocations: 30.56 kB / 0.958 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.7863, allocations: 1.531 kB / 0.958 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003792/0.7867, allocations: 97.86 kB / 0.9581 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.7867, allocations: 56.31 kB / 0.9581 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.672e-05/0.7868, allocations: 99.19 kB / 0.9582 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.684e-06/0.7868, allocations: 25.7 kB / 0.9582 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.96e-05/0.7869, allocations: 85.48 kB / 0.9583 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/0.7869, allocations: 8.812 kB / 0.9583 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.088e-05/0.7869, allocations: 14.91 kB / 0.9583 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.587e-05/0.787, allocations: 315.8 kB / 0.9586 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.959e-05/0.787, allocations: 22.14 kB / 0.9587 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.008e-05/0.7871, allocations: 18.2 kB / 0.9587 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.7873, allocations: 49.33 kB / 0.9587 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.7873, allocations: 0 / 0.9587 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001988/0.7875, allocations: 90.03 kB / 0.9588 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.7875, allocations: 4.781 kB / 0.9588 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.7875, allocations: 4.938 kB / 0.9588 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.7876, allocations: 0 / 0.9588 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.933e-05/0.7877, allocations: 12.58 kB / 0.9588 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.7877, allocations: 1.406 kB / 0.9588 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.821e-05/0.7877, allocations: 13.39 kB / 0.9589 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-06/0.7877, allocations: 1.438 kB / 0.9589 GB, free: 4.855 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 (2): * Single equations (assignments): 2 * 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 5.156e-05/0.7878, allocations: 111.2 kB / 0.959 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.199e-05/0.7878, allocations: 1.312 kB / 0.959 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002296/0.7881, allocations: 83.94 kB / 0.959 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.7881, allocations: 1.188 kB / 0.959 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.7881, allocations: 0 / 0.959 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.7881, allocations: 3.938 kB / 0.959 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.7882, allocations: 170.1 kB / 0.9592 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.7882, allocations: 0 / 0.9592 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.413e-05/0.7883, allocations: 8.688 kB / 0.9592 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.7883, allocations: 9.453 kB / 0.9592 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-06/0.7883, allocations: 0 / 0.9592 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.7883, allocations: 0 / 0.9592 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.7883, allocations: 5.5 kB / 0.9592 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002153/0.7885, allocations: 176.6 kB / 0.9594 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.7886, allocations: 77.11 kB / 0.9595 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.7886, allocations: 1.812 kB / 0.9595 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.401e-05/0.7886, allocations: 5.5 kB / 0.9595 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.7887, allocations: 5.797 kB / 0.9595 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.7887, allocations: 0 / 0.9595 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.468e-05/0.7887, allocations: 87.02 kB / 0.9596 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7887, allocations: 0 / 0.9596 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002093/0.7889, allocations: 7.781 kB / 0.9596 GB, free: 4.113 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001177/0.7891, allocations: 101.2 kB / 0.9597 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002085/0.7893, allocations: 47.17 kB / 0.9597 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.7893, allocations: 4.062 kB / 0.9597 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.854e-05/0.7894, allocations: 24.77 kB / 0.9597 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/0.7897, allocations: 6.562 kB / 0.9597 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000249/0.7899, allocations: 131.5 kB / 0.9599 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001142/0.7901, allocations: 0.6811 MB / 0.9605 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.522e-05/0.7901, allocations: 8.781 kB / 0.9605 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of SimCode: time 1.042e-06/0.7901, allocations: 0 / 0.9605 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of Templates: time 0.001695/0.7918, allocations: 0.529 MB / 0.9611 GB, free: 2.871 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Exp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches