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.001233/0.001233, allocations: 112.5 kB / 15.73 MB, free: 76 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.001156/0.001156, allocations: 192.9 kB / 16.67 MB, free: 6.539 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.609/2.609, allocations: 469.8 MB / 0.7425 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001712/0.001712, allocations: 63.91 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2558, allocations: 159.1 MB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.001594/0.2574, allocations: 0.6673 MB / 1.221 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0007648/0.2582, allocations: 0.7941 MB / 1.222 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.522e-05/0.2582, allocations: 4 kB / 1.222 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.383e-05/0.2583, allocations: 3.938 kB / 1.222 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.367e-05/0.2583, allocations: 4 kB / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001045/0.2584, allocations: 3.984 kB / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.386e-05/0.2585, allocations: 23.94 kB / 1.222 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.637e-05/0.2586, allocations: 7.984 kB / 1.222 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.489e-05/0.2586, allocations: 7.938 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.493e-05/0.2587, allocations: 15.98 kB / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.2587, allocations: 0 / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.358e-06/0.2587, allocations: 4 kB / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.652e-05/0.2587, allocations: 11.92 kB / 1.222 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.061e-05/0.2587, allocations: 4 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 6.863e-05/0.2588, allocations: 27.83 kB / 1.222 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2588, allocations: 4 kB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2588, allocations: 0 / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.2588, allocations: 0 / 1.222 GB, free: 12.68 MB / 0.9825 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.0003877/0.2592, allocations: 335.5 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.2593, allocations: 12.03 kB / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.475e-05/0.2593, allocations: 34.75 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.799e-05/0.2593, allocations: 8.828 kB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.2595, allocations: 164.3 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-06/0.2595, allocations: 4.375 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.232e-06/0.2595, allocations: 384 / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.2596, allocations: 50.23 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.2596, allocations: 3.938 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.2597, allocations: 8 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.2597, allocations: 0 / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000157/0.2598, allocations: 39.89 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002692/0.2601, allocations: 244.9 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.2602, allocations: 42.48 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.156e-05/0.2603, allocations: 24.91 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.2603, allocations: 0 / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.2604, allocations: 34.56 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 2.364e-06/0.2604, allocations: 0 / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003111/0.2607, allocations: 89.67 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.2607, allocations: 51.41 kB / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.43e-05/0.2608, allocations: 93.86 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.2608, allocations: 29.69 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.416e-05/0.2609, allocations: 88.09 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.323e-05/0.2609, allocations: 7.953 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.597e-05/0.2609, allocations: 9.719 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.261, allocations: 314.8 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.779e-05/0.2611, allocations: 24 kB / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.896e-05/0.2612, allocations: 15.98 kB / 1.223 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.2613, allocations: 40.77 kB / 1.223 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.2614, allocations: 3.938 kB / 1.223 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001851/0.2615, allocations: 65.72 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.2616, allocations: 9.719 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.2616, allocations: 0 / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.285e-06/0.2616, allocations: 0 / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.594e-05/0.2617, allocations: 11.98 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.2617, allocations: 0 / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.36e-05/0.2617, allocations: 4 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-06/0.2617, allocations: 0 / 1.224 GB, free: 10.62 MB / 0.9825 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.956e-05/0.2618, allocations: 121.8 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.2618, allocations: 4 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002016/0.262, allocations: 68.91 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.2621, allocations: 3.984 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.2621, allocations: 0 / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.2621, allocations: 0 / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001481/0.2622, allocations: 161.6 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.2622, allocations: 7.922 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.188e-05/0.2623, allocations: 12.03 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.2623, allocations: 0 / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.2623, allocations: 3.938 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.2623, allocations: 0 / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.2623, allocations: 0 / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002228/0.2625, allocations: 171.3 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.162e-05/0.2626, allocations: 89.12 kB / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.148e-06/0.2626, allocations: 0 / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.254e-05/0.2627, allocations: 8 kB / 1.224 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.414e-05/0.2627, allocations: 3.984 kB / 1.224 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.2627, allocations: 0 / 1.224 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.029e-05/0.2628, allocations: 83.28 kB / 1.224 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.2628, allocations: 0 / 1.224 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001964/0.263, allocations: 4 kB / 1.224 GB, free: 9.797 MB / 0.9825 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.0005212/0.2635, allocations: 0.6973 MB / 1.225 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001854/0.2637, allocations: 39.89 kB / 1.225 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.2637, allocations: 4.094 kB / 1.225 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.385e-05/0.2638, allocations: 19.98 kB / 1.225 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.264, allocations: 3.984 kB / 1.225 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003174/0.2644, allocations: 142.2 kB / 1.225 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.2646, allocations: 0.6768 MB / 1.226 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.675e-05/0.2646, allocations: 0 / 1.226 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.733e-05/0.2647, allocations: 15.5 kB / 1.226 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of SimCode: time 2.11e-07/0.2647, allocations: 0 / 1.226 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.524/1.789, allocations: 1.27 MB / 1.227 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.88/14.67, allocations: 21.69 kB / 1.227 GB, free: 6.902 MB / 0.9825 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