Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Log10,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Log10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Log10,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Log10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009495/0.009495, allocations: 100.8 kB / 15.73 MB, free: 6.016 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.002117/0.002117, allocations: 192.8 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.549/2.549, allocations: 222.9 MB / 240.4 MB, free: 15.07 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 4.427/4.427, allocations: 390.3 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002623/0.002624, allocations: 63.91 kB / 0.9505 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.506/1.508, allocations: 140.4 MB / 1.088 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Log10): time 0.002669/1.511, allocations: 0.6606 MB / 1.088 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001447/1.513, allocations: 0.8037 MB / 1.089 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.253e-05/1.513, allocations: 0 / 1.089 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.148e-05/1.513, allocations: 5.797 kB / 1.089 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.296e-05/1.513, allocations: 7.938 kB / 1.089 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001932/1.513, allocations: 8.812 kB / 1.089 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001097/1.513, allocations: 24.38 kB / 1.089 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/1.513, allocations: 7.781 kB / 1.089 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.238e-05/1.513, allocations: 5.719 kB / 1.089 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.609e-05/1.514, allocations: 14.16 kB / 1.089 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.735e-05/1.514, allocations: 1.312 kB / 1.089 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.208e-05/1.514, allocations: 1.906 kB / 1.089 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.372e-05/1.514, allocations: 5.688 kB / 1.089 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.127e-05/1.514, allocations: 11.64 kB / 1.089 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001272/1.514, allocations: 28.34 kB / 1.089 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/1.514, allocations: 0.6094 kB / 1.089 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.595e-06/1.514, allocations: 1.125 kB / 1.089 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.474e-06/1.514, allocations: 0 / 1.089 GB, free: 4.156 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.0005317/1.514, allocations: 336.1 kB / 1.089 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/1.514, allocations: 9.938 kB / 1.089 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.388e-05/1.515, allocations: 35.44 kB / 1.089 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.286e-05/1.515, allocations: 5.906 kB / 1.089 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/1.515, allocations: 172.5 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/1.515, allocations: 384 / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/1.515, allocations: 5.562 kB / 1.09 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002637/1.515, allocations: 49.23 kB / 1.09 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/1.515, allocations: 4.656 kB / 1.09 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/1.515, allocations: 0 / 1.09 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/1.515, allocations: 1 kB / 1.09 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002927/1.515, allocations: 33.34 kB / 1.09 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003929/1.516, allocations: 250.3 kB / 1.09 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/1.516, allocations: 43.56 kB / 1.09 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000156/1.516, allocations: 24.05 kB / 1.09 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/1.516, allocations: 1.188 kB / 1.09 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/1.516, allocations: 40.17 kB / 1.09 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.744e-06/1.516, allocations: 0 / 1.09 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0005858/1.517, allocations: 83.16 kB / 1.09 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/1.517, allocations: 52.25 kB / 1.09 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.476e-05/1.517, allocations: 102.2 kB / 1.09 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/1.517, allocations: 25.7 kB / 1.09 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.687e-05/1.517, allocations: 89.95 kB / 1.09 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/1.517, allocations: 4.984 kB / 1.09 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.664e-05/1.517, allocations: 13.25 kB / 1.09 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.879e-05/1.517, allocations: 317.1 kB / 1.091 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/1.517, allocations: 13.77 kB / 1.091 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/1.518, allocations: 18.48 kB / 1.091 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002311/1.518, allocations: 45.69 kB / 1.091 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/1.518, allocations: 3.938 kB / 1.091 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002928/1.518, allocations: 62.67 kB / 1.091 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/1.518, allocations: 5.984 kB / 1.091 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/1.518, allocations: 0 / 1.091 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/1.518, allocations: 4.938 kB / 1.091 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/1.518, allocations: 13.48 kB / 1.091 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/1.518, allocations: 0 / 1.091 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.987e-05/1.518, allocations: 5.656 kB / 1.091 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/1.518, allocations: 1.828 kB / 1.091 GB, free: 2.398 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 6.706e-05/1.519, allocations: 116.3 kB / 1.091 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.409e-05/1.519, allocations: 0.75 kB / 1.091 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003268/1.519, allocations: 72.08 kB / 1.091 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/1.519, allocations: 0 / 1.091 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/1.519, allocations: 1.094 kB / 1.091 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/1.519, allocations: 0.6562 kB / 1.091 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/1.519, allocations: 167 kB / 1.091 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.197e-06/1.519, allocations: 2.031 kB / 1.091 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.296e-05/1.519, allocations: 11.83 kB / 1.091 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/1.519, allocations: 1.125 kB / 1.091 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/1.519, allocations: 0.5625 kB / 1.091 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/1.519, allocations: 1.125 kB / 1.091 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.519, allocations: 8.031 kB / 1.091 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003102/1.52, allocations: 162.8 kB / 1.091 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.028e-05/1.52, allocations: 78.91 kB / 1.091 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/1.52, allocations: 0.7969 kB / 1.091 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/1.52, allocations: 6.641 kB / 1.091 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.861e-05/1.52, allocations: 10.62 kB / 1.091 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/1.52, allocations: 0 / 1.091 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.649e-05/1.52, allocations: 80.91 kB / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/1.52, allocations: 0 / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004206/1.52, allocations: 3.188 kB / 1.092 GB, free: 1.703 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.0007121/1.521, allocations: 0.7011 MB / 1.092 GB, free: 17.03 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003305/1.521, allocations: 35.14 kB / 1.092 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/1.521, allocations: 0 / 1.092 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001297/1.522, allocations: 21.25 kB / 1.092 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005142/1.522, allocations: 17.64 kB / 1.092 GB, free: 17.01 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006187/1.523, allocations: 132.3 kB / 1.092 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/1.523, allocations: 0.6757 MB / 1.093 GB, free: 16.16 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.35e-05/1.523, allocations: 1.562 kB / 1.093 GB, free: 16.16 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.651e-05/1.523, allocations: 13.16 kB / 1.093 GB, free: 16.16 MB / 0.8731 GB Notification: Performance of SimCode: time 3.3e-07/1.523, allocations: 0 / 1.093 GB, free: 16.16 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03135/1.555, allocations: 1.276 MB / 1.094 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.08/14.63, allocations: 14.84 kB / 1.094 GB, free: 15.78 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Log10.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Log10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches