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.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Log,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Log,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Log",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.0009908/0.0009907, 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.001056/0.001056, allocations: 198 kB / 16.14 MB, free: 6.645 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.255/1.255, allocations: 222.9 MB / 239.8 MB, free: 4.59 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.166/2.166, allocations: 390.2 MB / 0.6643 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 67.91 kB / 0.812 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5836/0.585, allocations: 140.4 MB / 0.9491 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Log): time 0.001671/0.5866, allocations: 0.7216 MB / 0.9498 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007006/0.5874, allocations: 0.8022 MB / 0.9506 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.392e-05/0.5874, allocations: 1.312 kB / 0.9506 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.224e-05/0.5874, allocations: 0 / 0.9506 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.744e-05/0.5875, allocations: 5.312 kB / 0.9506 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 8.443e-05/0.5876, allocations: 1.125 kB / 0.9506 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.435e-05/0.5876, allocations: 25.36 kB / 0.9506 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.125e-05/0.5877, allocations: 7.188 kB / 0.9506 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.82e-05/0.5878, allocations: 15.16 kB / 0.9506 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.473e-05/0.5878, allocations: 7.188 kB / 0.9506 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.5878, allocations: 1.719 kB / 0.9506 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.084e-06/0.5878, allocations: 0 / 0.9506 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.11e-05/0.5878, allocations: 8.797 kB / 0.9506 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.775e-05/0.5878, allocations: 5.719 kB / 0.9506 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.501e-05/0.5879, allocations: 21.12 kB / 0.9507 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.5879, allocations: 0 / 0.9507 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5879, allocations: 0 / 0.9507 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.514e-06/0.5879, allocations: 7.938 kB / 0.9507 GB, free: 7.832 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.0002667/0.5882, allocations: 338.6 kB / 0.951 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.968e-05/0.5882, allocations: 9.719 kB / 0.951 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.129e-05/0.5883, allocations: 35.94 kB / 0.951 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.772e-05/0.5883, allocations: 2.375 kB / 0.951 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.066e-05/0.5883, allocations: 169.5 kB / 0.9512 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-06/0.5883, allocations: 5.812 kB / 0.9512 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.653e-06/0.5884, allocations: 4.312 kB / 0.9512 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.5885, allocations: 54.39 kB / 0.9513 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.26e-06/0.5885, allocations: 3.938 kB / 0.9513 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.751e-06/0.5885, allocations: 0 / 0.9513 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.896e-06/0.5885, allocations: 1.188 kB / 0.9513 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001525/0.5887, allocations: 37.98 kB / 0.9513 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002082/0.5889, allocations: 244.8 kB / 0.9515 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.589, allocations: 47.95 kB / 0.9516 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.892e-05/0.5891, allocations: 22.81 kB / 0.9516 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.5891, allocations: 0 / 0.9516 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.177e-05/0.5891, allocations: 31.88 kB / 0.9516 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.5891, allocations: 0 / 0.9516 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002903/0.5894, allocations: 83.77 kB / 0.9517 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.356e-05/0.5895, allocations: 52.88 kB / 0.9518 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.977e-05/0.5895, allocations: 103.4 kB / 0.9519 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.831e-06/0.5895, allocations: 25.7 kB / 0.9519 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.85e-05/0.5895, allocations: 85.52 kB / 0.952 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.125e-05/0.5896, allocations: 7.844 kB / 0.952 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.43e-05/0.5896, allocations: 16.62 kB / 0.952 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.427e-05/0.5896, allocations: 316.3 kB / 0.9523 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.409e-05/0.5897, allocations: 20.2 kB / 0.9523 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.6e-05/0.5898, allocations: 13.67 kB / 0.9523 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.5899, allocations: 44.14 kB / 0.9524 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.5899, allocations: 7.938 kB / 0.9524 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001698/0.5901, allocations: 63.69 kB / 0.9524 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.5901, allocations: 5.062 kB / 0.9524 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.5901, allocations: 1.688 kB / 0.9524 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.596e-06/0.5901, allocations: 0 / 0.9524 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.328e-05/0.5902, allocations: 9.266 kB / 0.9524 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.5902, allocations: 1.281 kB / 0.9524 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.578e-05/0.5903, allocations: 10.83 kB / 0.9525 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-06/0.5903, allocations: 1.656 kB / 0.9525 GB, free: 5.965 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 3.64e-05/0.5903, allocations: 111.3 kB / 0.9526 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.398e-05/0.5904, allocations: 5.312 kB / 0.9526 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001924/0.5906, allocations: 74.25 kB / 0.9526 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.5906, allocations: 0 / 0.9526 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.5906, allocations: 1.531 kB / 0.9526 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-06/0.5906, allocations: 4.031 kB / 0.9526 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.5907, allocations: 161.9 kB / 0.9528 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.5907, allocations: 0 / 0.9528 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.695e-05/0.5907, allocations: 9.797 kB / 0.9528 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.5908, allocations: 1.438 kB / 0.9528 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.371e-06/0.5908, allocations: 3.938 kB / 0.9528 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.5908, allocations: 0 / 0.9528 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.5908, allocations: 1.5 kB / 0.9528 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.591, allocations: 170.8 kB / 0.953 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.382e-05/0.591, allocations: 77.11 kB / 0.9531 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.591, allocations: 5.375 kB / 0.9531 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.556e-05/0.5911, allocations: 8.109 kB / 0.9531 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.396e-05/0.5911, allocations: 1.375 kB / 0.9531 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.5911, allocations: 0 / 0.9531 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.075e-05/0.5911, allocations: 83.44 kB / 0.9531 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5912, allocations: 4 kB / 0.9532 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002201/0.5914, allocations: 2.75 kB / 0.9532 GB, free: 5.227 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.0003473/0.5917, allocations: 0.6955 MB / 0.9538 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001769/0.5919, allocations: 41.19 kB / 0.9539 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.5919, allocations: 3.938 kB / 0.9539 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.831e-05/0.592, allocations: 19.58 kB / 0.9539 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.5923, allocations: 7.547 kB / 0.9539 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002936/0.5926, allocations: 133.3 kB / 0.954 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.805e-05/0.5927, allocations: 0.673 MB / 0.9547 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.98e-05/0.5927, allocations: 5.266 kB / 0.9547 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.645e-05/0.5927, allocations: 8.562 kB / 0.9547 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.5927, allocations: 0 / 0.9547 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.008765/0.6015, allocations: 1.07 MB / 0.9557 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001286/0.6016, allocations: 208 kB / 0.9559 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.578/2.179, allocations: 0 / 0.9559 GB, free: 2.832 MB / 0.7169 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Log_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Log.fmu > 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/jenkins1/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