Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_10_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.006294/0.006295, allocations: 103.2 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 190.5 kB / 16.67 MB, free: 5.977 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: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.404/2.404, allocations: 437.1 MB / 0.7105 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 63.91 kB / 1.018 GB, free: 9.895 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8491/0.8505, allocations: 151.6 MB / 1.166 GB, free: 3.957 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.001957/0.8525, allocations: 0.8388 MB / 1.167 GB, free: 3.117 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001258/0.8527, allocations: 47.72 kB / 1.167 GB, free: 3.07 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.799e-05/0.8527, allocations: 4 kB / 1.167 GB, free: 3.066 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.371e-05/0.8528, allocations: 11.86 kB / 1.167 GB, free: 3.055 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.226e-05/0.8529, allocations: 7.875 kB / 1.167 GB, free: 3.047 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 5.224e-05/0.8529, allocations: 19.98 kB / 1.167 GB, free: 3.027 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000118/0.8531, allocations: 63.84 kB / 1.167 GB, free: 2.965 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.8532, allocations: 39.97 kB / 1.167 GB, free: 2.926 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.687e-05/0.8533, allocations: 19.94 kB / 1.167 GB, free: 2.906 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.616e-05/0.8534, allocations: 35.72 kB / 1.167 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.8534, allocations: 4 kB / 1.167 GB, free: 2.867 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.286e-05/0.8534, allocations: 12 kB / 1.167 GB, free: 2.855 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.469e-05/0.8534, allocations: 11.94 kB / 1.167 GB, free: 2.844 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.345e-05/0.8535, allocations: 39.78 kB / 1.167 GB, free: 2.805 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.8536, allocations: 70.11 kB / 1.167 GB, free: 2.738 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.8536, allocations: 0 / 1.167 GB, free: 2.738 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8536, allocations: 0 / 1.167 GB, free: 2.738 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.8536, allocations: 0 / 1.167 GB, free: 2.738 MB / 0.8887 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.0004861/0.8541, allocations: 383.1 kB / 1.168 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.8542, allocations: 8.922 kB / 1.168 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.499e-05/0.8542, allocations: 50.69 kB / 1.168 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.736e-05/0.8542, allocations: 8.844 kB / 1.168 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.8544, allocations: 196.1 kB / 1.168 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.8545, allocations: 4.375 kB / 1.168 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.8545, allocations: 8.375 kB / 1.168 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.8546, allocations: 98.33 kB / 1.168 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.8546, allocations: 3.938 kB / 1.168 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.8547, allocations: 3.938 kB / 1.168 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.8547, allocations: 8 kB / 1.168 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.021e-05/0.8547, allocations: 39.97 kB / 1.168 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004903/0.8552, allocations: 436.5 kB / 1.169 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.105e-05/0.8553, allocations: 41.28 kB / 1.169 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.852e-05/0.8554, allocations: 17.81 kB / 1.169 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-06/0.8554, allocations: 3.938 kB / 1.169 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.8554, allocations: 34.56 kB / 1.169 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.8554, allocations: 4 kB / 1.169 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001548/0.8556, allocations: 57.47 kB / 1.169 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.8556, allocations: 77.36 kB / 1.169 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.8558, allocations: 165.1 kB / 1.169 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.8558, allocations: 25.7 kB / 1.169 GB, free: 0.8672 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.76e-05/0.8558, allocations: 104 kB / 1.169 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 7.194e-06/0.8559, allocations: 3.906 kB / 1.169 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.923e-05/0.8559, allocations: 17.72 kB / 1.169 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.856, allocations: 322.8 kB / 1.169 GB, free: 420 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.7e-05/0.856, allocations: 4 kB / 1.169 GB, free: 416 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.406e-05/0.8561, allocations: 21.72 kB / 1.169 GB, free: 388 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.991e-05/0.8561, allocations: 29.64 kB / 1.169 GB, free: 352 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.8561, allocations: 0 / 1.169 GB, free: 352 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001742/0.8563, allocations: 57.61 kB / 1.169 GB, free: 288 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.8563, allocations: 7.938 kB / 1.169 GB, free: 280 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.8563, allocations: 0 / 1.169 GB, free: 280 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.8563, allocations: 0 / 1.169 GB, free: 280 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.126e-05/0.8564, allocations: 19.98 kB / 1.17 GB, free: 260 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.8564, allocations: 0 / 1.17 GB, free: 260 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.866e-05/0.8565, allocations: 7.906 kB / 1.17 GB, free: 252 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/0.8565, allocations: 0 / 1.17 GB, free: 252 kB / 0.8887 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.633e-05/0.8566, allocations: 117.8 kB / 1.17 GB, free: 124 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.069e-05/0.8566, allocations: 11.84 kB / 1.17 GB, free: 112 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.365e-05/0.8566, allocations: 11.88 kB / 1.17 GB, free: 92 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.8567, allocations: 0 / 1.17 GB, free: 92 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.8567, allocations: 0 / 1.17 GB, free: 92 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.8567, allocations: 7.984 kB / 1.17 GB, free: 84 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005189/0.8572, allocations: 470.8 kB / 1.17 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.8572, allocations: 0 / 1.17 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.946e-05/0.8572, allocations: 4 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.8572, allocations: 0 / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.8572, allocations: 0 / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.8573, allocations: 7.938 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.8573, allocations: 4.062 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.255e-05/0.8574, allocations: 85.77 kB / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.679e-05/0.8574, allocations: 88.95 kB / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.8574, allocations: 0 / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.995e-05/0.8575, allocations: 0 / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.999e-05/0.8575, allocations: 7.984 kB / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.8575, allocations: 8.031 kB / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.988e-05/0.8576, allocations: 117.5 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8576, allocations: 0 / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001907/0.8578, allocations: 7.906 kB / 1.17 GB, free: 15.2 MB / 0.9044 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.0005722/0.8584, allocations: 0.621 MB / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 7.585e-05/0.8584, allocations: 19.98 kB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.8584, allocations: 0 / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.214e-05/0.8585, allocations: 7.938 kB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001476/0.8586, allocations: 12.73 kB / 1.171 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.8598, allocations: 1.326 MB / 1.172 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/0.86, allocations: 0.6924 MB / 1.173 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.234e-05/0.8601, allocations: 8.422 kB / 1.173 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.471e-05/0.8601, allocations: 31.36 kB / 1.173 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of SimCode: time 2.01e-07/0.8601, allocations: 0 / 1.173 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01892/0.879, allocations: 1.581 MB / 1.175 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.708/8.587, allocations: 8.547 kB / 1.175 GB, free: 10.84 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_quad_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_quad.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches