Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.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.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",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.001392/0.001392, 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.001378/0.001377, allocations: 193.4 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.306/1.306, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.548/2.548, allocations: 469.8 MB / 0.7424 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001664, allocations: 67.06 kB / 0.9087 GB, free: 34.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2543, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.001883/0.2562, allocations: 0.8313 MB / 1.065 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 8.188e-05/0.2563, allocations: 35.84 kB / 1.065 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.16e-05/0.2563, allocations: 4 kB / 1.065 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.682e-05/0.2563, allocations: 7.875 kB / 1.065 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.988e-05/0.2564, allocations: 11.86 kB / 1.065 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.755e-05/0.2564, allocations: 23.98 kB / 1.065 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.762e-05/0.2565, allocations: 55.86 kB / 1.065 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.2566, allocations: 47.94 kB / 1.065 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.595e-05/0.2567, allocations: 23.81 kB / 1.065 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.188e-05/0.2567, allocations: 31.84 kB / 1.065 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.2568, allocations: 12 kB / 1.065 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.975e-06/0.2568, allocations: 4 kB / 1.065 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.609e-05/0.2568, allocations: 11.94 kB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.202e-05/0.2568, allocations: 35.73 kB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.62e-05/0.2569, allocations: 75.98 kB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.175e-06/0.2569, allocations: 0 / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.92e-07/0.2569, allocations: 0 / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.665e-06/0.2569, allocations: 0 / 1.065 GB, free: 13 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003454/0.2573, allocations: 371.3 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.434e-05/0.2573, allocations: 12.03 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.903e-05/0.2574, allocations: 38.75 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.035e-05/0.2574, allocations: 12.75 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.2576, allocations: 192.1 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.2576, allocations: 8.375 kB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.634e-06/0.2576, allocations: 8.312 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.2577, allocations: 97.77 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.2577, allocations: 3.938 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.2578, allocations: 8 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.2578, allocations: 7.938 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.347e-05/0.2578, allocations: 31.98 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004507/0.2583, allocations: 436.5 kB / 1.066 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.413e-05/0.2584, allocations: 41.22 kB / 1.066 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.173e-05/0.2584, allocations: 17.78 kB / 1.066 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.258e-06/0.2584, allocations: 0 / 1.066 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.2584, allocations: 38.59 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.2584, allocations: 0 / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001388/0.2586, allocations: 61.56 kB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.125e-05/0.2587, allocations: 77.11 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.2588, allocations: 169 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.2588, allocations: 25.7 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.679e-05/0.2589, allocations: 105.9 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.467e-06/0.2589, allocations: 11.91 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/0.259, allocations: 13.72 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.2591, allocations: 319 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.549e-05/0.2591, allocations: 12 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.881e-05/0.2591, allocations: 13.72 kB / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.797e-05/0.2592, allocations: 33.64 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.2592, allocations: 0 / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.653e-05/0.2593, allocations: 53.61 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.2593, allocations: 8 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-06/0.2593, allocations: 4 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/0.2593, allocations: 4.094 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.707e-05/0.2594, allocations: 11.92 kB / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-06/0.2594, allocations: 0 / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.346e-05/0.2594, allocations: 19.83 kB / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.795e-06/0.2594, allocations: 0 / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.867e-05/0.2595, allocations: 113.8 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.16e-05/0.2595, allocations: 11.84 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.927e-05/0.2596, allocations: 11.88 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.2596, allocations: 0 / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.2596, allocations: 4 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.2596, allocations: 3.984 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004004/0.26, allocations: 470.8 kB / 1.068 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.26, allocations: 3.938 kB / 1.068 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.728e-05/0.26, allocations: 7.938 kB / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.26, allocations: 0 / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.397e-06/0.26, allocations: 4.062 kB / 1.068 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2601, allocations: 4 kB / 1.068 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2601, allocations: 0 / 1.068 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.971e-05/0.2601, allocations: 81.77 kB / 1.068 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.086e-05/0.2602, allocations: 89.02 kB / 1.068 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.398e-06/0.2602, allocations: 0 / 1.068 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.85e-05/0.2602, allocations: 4.031 kB / 1.068 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.528e-06/0.2603, allocations: 7.984 kB / 1.068 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-06/0.2603, allocations: 0 / 1.068 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.414e-05/0.2604, allocations: 115.3 kB / 1.068 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2604, allocations: 0 / 1.068 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001713/0.2605, allocations: 11.98 kB / 1.068 GB, free: 9.469 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.000386/0.2609, allocations: 0.617 MB / 1.069 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.221e-05/0.261, allocations: 23.98 kB / 1.069 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.261, allocations: 0 / 1.069 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.339e-05/0.261, allocations: 11.94 kB / 1.069 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001202/0.2611, allocations: 4 kB / 1.069 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.2623, allocations: 1.311 MB / 1.07 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.2626, allocations: 0.6963 MB / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.342e-05/0.2627, allocations: 4.438 kB / 1.071 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.753e-05/0.2627, allocations: 31.36 kB / 1.071 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.2627, allocations: 0 / 1.071 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3469/0.6096, allocations: 1.545 MB / 1.072 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.452/9.062, allocations: 18.12 kB / 1.072 GB, free: 5.137 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_quad_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_quad.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches