Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.To_quad,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_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.001509/0.001509, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002009/0.002009, allocations: 194.7 kB / 16.26 MB, free: 6.621 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.429/1.429, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.348/2.348, allocations: 390.3 MB / 0.6644 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 63.91 kB / 0.8122 GB, free: 14.71 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5345/0.5359, allocations: 140.4 MB / 0.9492 GB, free: 9.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.001791/0.5377, allocations: 0.8808 MB / 0.9501 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.703e-05/0.5378, allocations: 41.28 kB / 0.9501 GB, free: 8.344 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.689e-05/0.5379, allocations: 1.375 kB / 0.9501 GB, free: 8.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.733e-05/0.5379, allocations: 3.938 kB / 0.9501 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.056e-05/0.538, allocations: 9.297 kB / 0.9502 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.936e-05/0.5381, allocations: 10.75 kB / 0.9502 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.886e-05/0.5382, allocations: 60.66 kB / 0.9502 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.5383, allocations: 52.33 kB / 0.9503 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.534e-05/0.5383, allocations: 24.17 kB / 0.9503 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.763e-05/0.5384, allocations: 27.92 kB / 0.9503 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.5384, allocations: 6.875 kB / 0.9503 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.007e-06/0.5384, allocations: 5.5 kB / 0.9503 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.661e-05/0.5384, allocations: 22.67 kB / 0.9504 GB, free: 8.195 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.635e-05/0.5385, allocations: 26.69 kB / 0.9504 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.819e-05/0.5385, allocations: 78.31 kB / 0.9505 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.5386, allocations: 1.375 kB / 0.9505 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.292e-06/0.5386, allocations: 0 / 0.9505 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.5386, allocations: 0 / 0.9505 GB, free: 8.113 MB / 0.7169 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.0002918/0.5389, allocations: 378.5 kB / 0.9508 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.5389, allocations: 9.625 kB / 0.9508 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.71e-05/0.5389, allocations: 45.42 kB / 0.9509 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.393e-05/0.539, allocations: 12.97 kB / 0.9509 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.5391, allocations: 195.2 kB / 0.9511 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.5391, allocations: 3.125 kB / 0.9511 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/0.5391, allocations: 8.5 kB / 0.9511 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.5393, allocations: 95.56 kB / 0.9512 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.5393, allocations: 3.938 kB / 0.9512 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-06/0.5393, allocations: 5.375 kB / 0.9512 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.5393, allocations: 1.375 kB / 0.9512 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.658e-05/0.5394, allocations: 40.61 kB / 0.9512 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003719/0.5397, allocations: 436.6 kB / 0.9516 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.599e-05/0.5398, allocations: 32.97 kB / 0.9517 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.928e-05/0.5398, allocations: 32.36 kB / 0.9517 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.662e-06/0.5398, allocations: 0 / 0.9517 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.331e-05/0.5399, allocations: 31.94 kB / 0.9517 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.5399, allocations: 0 / 0.9517 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001386/0.54, allocations: 58.67 kB / 0.9518 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.286e-05/0.54, allocations: 82.64 kB / 0.9519 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.5401, allocations: 168 kB / 0.952 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.63e-06/0.5402, allocations: 25.7 kB / 0.952 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.5402, allocations: 111.6 kB / 0.9522 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.262e-06/0.5402, allocations: 6.125 kB / 0.9522 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.756e-05/0.5402, allocations: 21.17 kB / 0.9522 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.519e-05/0.5403, allocations: 317.2 kB / 0.9525 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.477e-05/0.5403, allocations: 2.875 kB / 0.9525 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.737e-05/0.5403, allocations: 27.27 kB / 0.9525 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.228e-05/0.5404, allocations: 25.97 kB / 0.9525 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.5404, allocations: 0 / 0.9525 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.996e-05/0.5404, allocations: 59.5 kB / 0.9526 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.5405, allocations: 8.969 kB / 0.9526 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.5405, allocations: 1.219 kB / 0.9526 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.5405, allocations: 8 kB / 0.9526 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.337e-05/0.5405, allocations: 6.156 kB / 0.9526 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.5406, allocations: 0 / 0.9526 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.822e-05/0.5406, allocations: 3.125 kB / 0.9526 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-06/0.5406, allocations: 1.344 kB / 0.9526 GB, free: 5.895 MB / 0.7169 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 4.248e-05/0.5406, allocations: 113.6 kB / 0.9527 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.084e-05/0.5407, allocations: 15.67 kB / 0.9527 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.842e-05/0.5407, allocations: 10.39 kB / 0.9528 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.5407, allocations: 1.406 kB / 0.9528 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.5407, allocations: 4 kB / 0.9528 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.053e-06/0.5407, allocations: 1.25 kB / 0.9528 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/0.541, allocations: 473.8 kB / 0.9532 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.541, allocations: 5.25 kB / 0.9532 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.849e-05/0.541, allocations: 2.562 kB / 0.9532 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.541, allocations: 1.062 kB / 0.9532 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.541, allocations: 1.188 kB / 0.9532 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.541, allocations: 4.062 kB / 0.9532 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.541, allocations: 1.344 kB / 0.9532 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.595e-05/0.5411, allocations: 85.8 kB / 0.9533 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.721e-05/0.5411, allocations: 92.5 kB / 0.9534 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.5412, allocations: 1.438 kB / 0.9534 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.05e-05/0.5412, allocations: 0 / 0.9534 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.768e-06/0.5412, allocations: 9.125 kB / 0.9534 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.5412, allocations: 1.031 kB / 0.9534 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.122e-05/0.5413, allocations: 125.3 kB / 0.9535 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5413, allocations: 0 / 0.9535 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001887/0.5415, allocations: 7.281 kB / 0.9535 GB, free: 4.938 MB / 0.7169 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.0001975/0.5417, allocations: 0.6212 MB / 0.9541 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.17e-05/0.5417, allocations: 13.72 kB / 0.9542 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5418, allocations: 1.875 kB / 0.9542 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.069e-05/0.5418, allocations: 11.09 kB / 0.9542 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/0.5419, allocations: 9.031 kB / 0.9542 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008067/0.5427, allocations: 1.345 MB / 0.9555 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.686e-05/0.5428, allocations: 0.7023 MB / 0.9562 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.032e-05/0.5429, allocations: 8.734 kB / 0.9562 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.448e-05/0.5429, allocations: 18.66 kB / 0.9562 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.5429, allocations: 0 / 0.9562 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01002/0.5529, allocations: 1.463 MB / 0.9576 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001331/0.5531, allocations: 212.5 kB / 0.9578 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.571/2.124, allocations: 1.062 kB / 0.9578 GB, free: 1.32 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_quad_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_quad.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches