Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.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.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009856/0.009857, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.001644/0.001644, allocations: 195.7 kB / 16.68 MB, free: 5.977 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.537/1.537, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.411/2.411, allocations: 390.2 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 67.89 kB / 0.9509 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.26/1.261, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Log): time 0.002077/1.263, allocations: 0.6725 MB / 1.089 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009185/1.264, allocations: 0.7994 MB / 1.089 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.536e-05/1.264, allocations: 0.9375 kB / 1.089 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.832e-05/1.264, allocations: 7.938 kB / 1.089 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.429e-05/1.264, allocations: 5.625 kB / 1.089 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001506/1.264, allocations: 9 kB / 1.089 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.693e-05/1.264, allocations: 23.19 kB / 1.089 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/1.264, allocations: 5.359 kB / 1.089 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.121e-05/1.264, allocations: 12.05 kB / 1.089 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.255e-05/1.265, allocations: 13.69 kB / 1.089 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/1.265, allocations: 1.625 kB / 1.089 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.179e-05/1.265, allocations: 2.594 kB / 1.089 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.181e-05/1.265, allocations: 9.219 kB / 1.089 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.21e-05/1.265, allocations: 11.56 kB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.821e-05/1.265, allocations: 20.55 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/1.265, allocations: 1.922 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.124e-06/1.265, allocations: 0 / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.164e-06/1.265, allocations: 0 / 1.09 GB, free: 4.422 MB / 0.8575 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.0004705/1.265, allocations: 332.9 kB / 1.09 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/1.265, allocations: 8.688 kB / 1.09 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.871e-05/1.265, allocations: 7.344 kB / 1.09 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/1.265, allocations: 171.1 kB / 1.09 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/1.265, allocations: 1.25 kB / 1.09 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/1.265, allocations: 1.594 kB / 1.09 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/1.266, allocations: 49.12 kB / 1.09 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/1.266, allocations: 0.7031 kB / 1.09 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/1.266, allocations: 7.875 kB / 1.09 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/1.266, allocations: 1.094 kB / 1.09 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001693/1.266, allocations: 35.92 kB / 1.09 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003592/1.266, allocations: 246.6 kB / 1.09 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/1.266, allocations: 40.34 kB / 1.09 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.848e-05/1.266, allocations: 27.11 kB / 1.09 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/1.267, allocations: 1.922 kB / 1.09 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.855e-05/1.267, allocations: 39.47 kB / 1.09 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/1.267, allocations: 0 / 1.09 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003658/1.267, allocations: 79.95 kB / 1.091 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/1.267, allocations: 52.69 kB / 1.091 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.148e-05/1.267, allocations: 97.73 kB / 1.091 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/1.267, allocations: 29.83 kB / 1.091 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.222e-05/1.267, allocations: 94.19 kB / 1.091 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/1.267, allocations: 1.484 kB / 1.091 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/1.267, allocations: 12.69 kB / 1.091 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.937e-05/1.267, allocations: 317.6 kB / 1.091 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.925e-05/1.267, allocations: 12.86 kB / 1.091 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.822e-05/1.267, allocations: 22.95 kB / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/1.268, allocations: 41.44 kB / 1.091 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/1.268, allocations: 0 / 1.091 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001752/1.268, allocations: 70.59 kB / 1.091 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/1.268, allocations: 5.641 kB / 1.091 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/1.268, allocations: 1.172 kB / 1.091 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/1.268, allocations: 7.922 kB / 1.091 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.133e-05/1.268, allocations: 13.17 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/1.268, allocations: 0.6094 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.26e-05/1.268, allocations: 6.203 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/1.268, allocations: 1.344 kB / 1.091 GB, free: 2.707 MB / 0.8575 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.537e-05/1.268, allocations: 116 kB / 1.091 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.178e-05/1.268, allocations: 5.844 kB / 1.091 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002193/1.268, allocations: 70.61 kB / 1.091 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/1.268, allocations: 1.625 kB / 1.091 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/1.268, allocations: 0 / 1.091 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/1.268, allocations: 0.9062 kB / 1.091 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/1.268, allocations: 163.4 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/1.268, allocations: 0.5156 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.686e-05/1.268, allocations: 8.906 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/1.268, allocations: 0.5156 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/1.268, allocations: 1 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/1.268, allocations: 32 / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.268, allocations: 5.703 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002182/1.269, allocations: 165.8 kB / 1.092 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.435e-05/1.269, allocations: 82.88 kB / 1.092 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/1.269, allocations: 1.797 kB / 1.092 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.781e-05/1.269, allocations: 5.703 kB / 1.092 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.751e-05/1.269, allocations: 10.48 kB / 1.092 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/1.269, allocations: 4.906 kB / 1.092 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.801e-05/1.269, allocations: 80.56 kB / 1.092 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/1.269, allocations: 0 / 1.092 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002037/1.269, allocations: 3.031 kB / 1.092 GB, free: 2.008 MB / 0.8575 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.0001553/1.269, allocations: 101.6 kB / 1.092 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002103/1.27, allocations: 39.84 kB / 1.092 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/1.27, allocations: 0 / 1.092 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.971e-05/1.27, allocations: 24.19 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/1.27, allocations: 7.406 kB / 1.092 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003279/1.27, allocations: 105 kB / 1.092 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/1.27, allocations: 0.6759 MB / 1.093 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.299e-05/1.27, allocations: 5.312 kB / 1.093 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.497e-05/1.27, allocations: 9.375 kB / 1.093 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of SimCode: time 2e-07/1.27, allocations: 3.938 kB / 1.093 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of Templates: time 0.002842/1.273, allocations: 443.8 kB / 1.093 GB, free: 1.023 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Log.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches