Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Log,fileNamePrefix="Buildings_latest_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.001122/0.001122, 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.001184/0.001184, allocations: 193 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.309/1.309, 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.0.1-master/package.mo): time 2.684/2.684, allocations: 469.4 MB / 0.742 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 63.48 kB / 0.9083 GB, free: 34.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.2482, allocations: 159.1 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.001814/0.2501, allocations: 0.663 MB / 1.064 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008175/0.2509, allocations: 0.8078 MB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.786e-05/0.251, allocations: 4 kB / 1.065 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.878e-05/0.251, allocations: 0 / 1.065 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.35e-05/0.2511, allocations: 3.938 kB / 1.065 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 9.29e-05/0.2512, allocations: 7.984 kB / 1.065 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.186e-05/0.2512, allocations: 19.94 kB / 1.065 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.28e-05/0.2513, allocations: 15.97 kB / 1.065 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.336e-05/0.2513, allocations: 11.88 kB / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.951e-05/0.2514, allocations: 11.98 kB / 1.065 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.2514, allocations: 4 kB / 1.065 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.254e-06/0.2514, allocations: 0 / 1.065 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.523e-05/0.2514, allocations: 7.938 kB / 1.065 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.036e-05/0.2515, allocations: 4 kB / 1.065 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 5.758e-05/0.2515, allocations: 23.91 kB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2515, allocations: 0 / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2515, allocations: 4 kB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.2515, allocations: 0 / 1.065 GB, free: 12.88 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.0003916/0.2519, allocations: 335.8 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.252, allocations: 12.03 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.767e-05/0.252, allocations: 34.73 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.047e-05/0.252, allocations: 4.844 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.592e-05/0.2521, allocations: 168.4 kB / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.534e-06/0.2521, allocations: 384 / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.856e-06/0.2522, allocations: 384 / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.2523, allocations: 58.17 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.2523, allocations: 3.938 kB / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.473e-06/0.2524, allocations: 0 / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.2524, allocations: 0 / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001675/0.2525, allocations: 35.95 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002607/0.2528, allocations: 245 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.2529, allocations: 50.38 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.133e-05/0.253, allocations: 28.88 kB / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.2531, allocations: 4 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.2531, allocations: 30.56 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.2531, allocations: 0 / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003258/0.2534, allocations: 89.55 kB / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.2535, allocations: 51.41 kB / 1.066 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.574e-05/0.2535, allocations: 93.86 kB / 1.066 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.2536, allocations: 25.7 kB / 1.066 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.042e-05/0.2536, allocations: 88.08 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.615e-05/0.2536, allocations: 11.89 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-05/0.2537, allocations: 13.84 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.2538, allocations: 314.8 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.55e-05/0.2539, allocations: 15.98 kB / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.627e-05/0.2539, allocations: 15.98 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.2541, allocations: 44.88 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.2541, allocations: 3.938 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002009/0.2543, allocations: 65.66 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.2543, allocations: 4 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.2544, allocations: 3.938 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.2544, allocations: 0 / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.25e-05/0.2545, allocations: 11.94 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.2545, allocations: 3.984 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.81e-05/0.2545, allocations: 8.031 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.2545, allocations: 0 / 1.067 GB, free: 10.8 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 5.951e-05/0.2546, allocations: 113.8 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/0.2546, allocations: 4 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002206/0.2549, allocations: 68.77 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.2549, allocations: 0 / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.2549, allocations: 4.031 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.2549, allocations: 0 / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.255, allocations: 157.6 kB / 1.067 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.255, allocations: 4 kB / 1.067 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.102e-05/0.2551, allocations: 7.984 kB / 1.067 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2551, allocations: 0 / 1.067 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.2551, allocations: 0 / 1.067 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2551, allocations: 7.875 kB / 1.067 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2551, allocations: 0 / 1.067 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000228/0.2554, allocations: 167.5 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.019e-05/0.2554, allocations: 85.02 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.2554, allocations: 0 / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.994e-05/0.2555, allocations: 7.984 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.885e-05/0.2556, allocations: 4 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-06/0.2556, allocations: 4 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.498e-05/0.2556, allocations: 83.3 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2556, allocations: 4 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002151/0.2558, allocations: 7.938 kB / 1.068 GB, free: 9.992 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.000508/0.2564, allocations: 0.6973 MB / 1.068 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000199/0.2566, allocations: 39.95 kB / 1.068 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2566, allocations: 0 / 1.068 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.292e-05/0.2567, allocations: 19.98 kB / 1.068 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.2569, allocations: 0 / 1.068 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000368/0.2573, allocations: 143.3 kB / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002163/0.2575, allocations: 0.6768 MB / 1.069 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.937e-05/0.2576, allocations: 0 / 1.069 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.032e-05/0.2576, allocations: 11.44 kB / 1.069 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of SimCode: time 2.71e-07/0.2576, allocations: 0 / 1.069 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01574/0.2733, allocations: 1.262 MB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.19/7.463, allocations: 2.375 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Log.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches