Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Reals.Validation.Log,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Log,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_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.001474/0.001474, allocations: 108 kB / 15.6 MB, free: 132 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.001477/0.001477, allocations: 194.9 kB / 16.53 MB, free: 6.391 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.331/1.331, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.622/2.622, allocations: 469.8 MB / 0.7424 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 69.69 kB / 0.9087 GB, free: 34.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2485, allocations: 159.2 MB / 1.064 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.001686/0.2502, allocations: 0.6627 MB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008236/0.2511, allocations: 0.8118 MB / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.739e-05/0.2511, allocations: 0 / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.991e-05/0.2511, allocations: 3.938 kB / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.458e-05/0.2512, allocations: 0 / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001013/0.2513, allocations: 7.938 kB / 1.066 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.834e-05/0.2514, allocations: 23.98 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.59e-05/0.2515, allocations: 11.92 kB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.625e-05/0.2515, allocations: 11.92 kB / 1.066 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.101e-05/0.2515, allocations: 12 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.2516, allocations: 4 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.504e-06/0.2516, allocations: 0 / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.615e-05/0.2516, allocations: 7.922 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.177e-05/0.2516, allocations: 11.94 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 5.636e-05/0.2517, allocations: 19.91 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.2517, allocations: 0 / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2517, allocations: 0 / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.2517, allocations: 0 / 1.066 GB, free: 12.55 MB / 0.8262 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.0004198/0.2521, allocations: 339.8 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.2522, allocations: 12.03 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.071e-05/0.2522, allocations: 30.75 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.969e-05/0.2522, allocations: 4.844 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.2524, allocations: 168.4 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.122e-06/0.2524, allocations: 384 / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.2524, allocations: 4.375 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.2525, allocations: 46.23 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.2526, allocations: 3.938 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.2526, allocations: 8 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.387e-06/0.2526, allocations: 0 / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001549/0.2527, allocations: 35.91 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002982/0.253, allocations: 249 kB / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.2532, allocations: 42.44 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.224e-05/0.2533, allocations: 20.91 kB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.2533, allocations: 4 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.2533, allocations: 34.55 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.2533, allocations: 0 / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.000328/0.2536, allocations: 85.62 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.2537, allocations: 59.39 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.8e-05/0.2538, allocations: 97.86 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.2538, allocations: 25.7 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.646e-05/0.2538, allocations: 80.14 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/0.2538, allocations: 7.906 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/0.2539, allocations: 17.7 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.254, allocations: 314.8 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.912e-05/0.2541, allocations: 23.98 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.732e-05/0.2542, allocations: 11.98 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.2543, allocations: 44.75 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2543, allocations: 3.938 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001834/0.2545, allocations: 65.73 kB / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.978e-06/0.2545, allocations: 7.938 kB / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.2546, allocations: 3.984 kB / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.2546, allocations: 192 / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.748e-05/0.2547, allocations: 12 kB / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.2547, allocations: 0 / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.613e-05/0.2547, allocations: 7.984 kB / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-06/0.2547, allocations: 0 / 1.067 GB, free: 10.48 MB / 0.8262 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 7.591e-05/0.2548, allocations: 113.8 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.2548, allocations: 7.984 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002059/0.255, allocations: 72.72 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/0.2551, allocations: 3.984 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.2551, allocations: 0 / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-06/0.2551, allocations: 0 / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.2552, allocations: 157.6 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2552, allocations: 4 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.533e-05/0.2553, allocations: 12.02 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.2553, allocations: 0 / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.2553, allocations: 0 / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2553, allocations: 3.938 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2553, allocations: 4 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.2556, allocations: 165.2 kB / 1.068 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.931e-05/0.2556, allocations: 89.05 kB / 1.068 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.01e-05/0.2556, allocations: 0 / 1.068 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.268e-05/0.2557, allocations: 7.984 kB / 1.068 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.612e-05/0.2557, allocations: 0 / 1.068 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.2557, allocations: 0 / 1.068 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.534e-05/0.2558, allocations: 79.28 kB / 1.068 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2558, allocations: 0 / 1.068 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002082/0.256, allocations: 15.92 kB / 1.068 GB, free: 9.66 MB / 0.8262 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.0005489/0.2566, allocations: 0.6968 MB / 1.069 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001906/0.2568, allocations: 35.91 kB / 1.069 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2568, allocations: 4.094 kB / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.044e-05/0.2569, allocations: 19.97 kB / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.2571, allocations: 8 kB / 1.069 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003359/0.2574, allocations: 131.3 kB / 1.069 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.2577, allocations: 0.6768 MB / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.65e-05/0.2577, allocations: 4.062 kB / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.593e-05/0.2578, allocations: 11.38 kB / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.2578, allocations: 0 / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.103/4.361, allocations: 1.243 MB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.864/13.22, allocations: 4.844 kB / 1.071 GB, free: 6.801 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Log_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Log.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches