Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 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.Log10,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Log10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Log10,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_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.001623/0.001623, allocations: 104 kB / 15.61 MB, free: 148 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.001806/0.001806, allocations: 195.9 kB / 16.53 MB, free: 6.684 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.274/1.274, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.643/2.643, allocations: 469.4 MB / 0.742 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 72.31 kB / 0.9083 GB, free: 34.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2576, allocations: 159.1 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log10): time 0.001808/0.2595, allocations: 0.6636 MB / 1.064 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008209/0.2603, allocations: 0.8001 MB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.831e-05/0.2604, allocations: 0 / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.242e-05/0.2604, allocations: 7.938 kB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.061e-05/0.2605, allocations: 7.984 kB / 1.065 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001172/0.2606, allocations: 11.92 kB / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.63e-05/0.2607, allocations: 19.98 kB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.221e-05/0.2608, allocations: 4 kB / 1.065 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.977e-05/0.2608, allocations: 11.94 kB / 1.065 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.384e-05/0.2609, allocations: 7.984 kB / 1.065 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.2609, allocations: 3.938 kB / 1.065 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.102e-05/0.2609, allocations: 4 kB / 1.065 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.52e-05/0.2609, allocations: 7.938 kB / 1.065 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.666e-05/0.2609, allocations: 19.92 kB / 1.065 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 6.413e-05/0.261, allocations: 19.95 kB / 1.065 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.261, allocations: 0 / 1.065 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.173e-06/0.261, allocations: 0 / 1.065 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.261, allocations: 0 / 1.065 GB, free: 12.92 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.0004026/0.2614, allocations: 337.7 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.2615, allocations: 8.031 kB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.696e-05/0.2615, allocations: 34.75 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.167e-05/0.2615, allocations: 4.844 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.919e-05/0.2616, allocations: 164.4 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.2617, allocations: 4.375 kB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.427e-06/0.2617, allocations: 4.312 kB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.2618, allocations: 54.22 kB / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.2619, allocations: 7.875 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.2619, allocations: 4 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.2619, allocations: 0 / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001653/0.2621, allocations: 43.89 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002769/0.2623, allocations: 240.9 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.2625, allocations: 42.53 kB / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.773e-05/0.2626, allocations: 20.91 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.2626, allocations: 4 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.2626, allocations: 34.56 kB / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 2.425e-06/0.2626, allocations: 0 / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003334/0.263, allocations: 85.48 kB / 1.066 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.263, allocations: 55.41 kB / 1.066 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.271e-05/0.2631, allocations: 102 kB / 1.066 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.2631, allocations: 29.7 kB / 1.066 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.631e-05/0.2631, allocations: 80.14 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.2632, allocations: 3.906 kB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.2632, allocations: 17.72 kB / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.2633, allocations: 310.8 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.763e-05/0.2634, allocations: 19.97 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.656e-05/0.2635, allocations: 19.98 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.2636, allocations: 40.77 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.2636, allocations: 3.938 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001969/0.2638, allocations: 61.66 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.2639, allocations: 8 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.2639, allocations: 0 / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.2639, allocations: 4.094 kB / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.586e-05/0.264, allocations: 7.984 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.264, allocations: 3.984 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.698e-05/0.2641, allocations: 4 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.2641, allocations: 7.984 kB / 1.067 GB, free: 10.85 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 6.514e-05/0.2641, allocations: 113.8 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.366e-05/0.2642, allocations: 0 / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002246/0.2644, allocations: 76.72 kB / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.2644, allocations: 0 / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.2644, allocations: 0 / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.2644, allocations: 0 / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.2646, allocations: 169.5 kB / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2646, allocations: 0 / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.941e-05/0.2647, allocations: 8 kB / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.2647, allocations: 0 / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.2647, allocations: 3.938 kB / 1.067 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2647, allocations: 4.031 kB / 1.067 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.2647, allocations: 3.984 kB / 1.067 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002235/0.2649, allocations: 159.4 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.493e-05/0.265, allocations: 85 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.265, allocations: 4 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.969e-05/0.2651, allocations: 16.03 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.032e-05/0.2651, allocations: 3.984 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.2651, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.2e-05/0.2652, allocations: 79.47 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2652, allocations: 0 / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002225/0.2654, allocations: 7.938 kB / 1.068 GB, free: 10.03 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.0004904/0.2659, allocations: 0.6934 MB / 1.068 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000201/0.2661, allocations: 43.89 kB / 1.068 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2661, allocations: 0 / 1.068 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.344e-05/0.2662, allocations: 20.08 kB / 1.068 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.2665, allocations: 4.062 kB / 1.068 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003949/0.2669, allocations: 141.1 kB / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000198/0.2671, allocations: 0.6769 MB / 1.069 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.922e-05/0.2671, allocations: 0 / 1.069 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.221e-05/0.2671, allocations: 7.438 kB / 1.069 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of SimCode: time 2.9e-07/0.2671, allocations: 0 / 1.069 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01657/0.2837, allocations: 1.261 MB / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.249/7.533, allocations: 7.984 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Log10.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Log10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches