Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.To_quad,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_10_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.004841/0.004841, allocations: 96.97 kB / 15.73 MB, free: 6.031 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.00138/0.00138, allocations: 196.4 kB / 16.68 MB, free: 5.961 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.237/1.237, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.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.393/2.393, allocations: 437.1 MB / 0.7106 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 63.91 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2647, allocations: 151.6 MB / 1.166 GB, free: 7.27 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.00189/0.2666, allocations: 0.8318 MB / 1.167 GB, free: 6.43 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001145/0.2667, allocations: 43.78 kB / 1.167 GB, free: 6.387 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.513e-05/0.2668, allocations: 0 / 1.167 GB, free: 6.387 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.481e-05/0.2668, allocations: 11.88 kB / 1.167 GB, free: 6.375 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.922e-05/0.2669, allocations: 7.875 kB / 1.167 GB, free: 6.367 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.893e-05/0.267, allocations: 27.97 kB / 1.167 GB, free: 6.34 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.2671, allocations: 55.84 kB / 1.167 GB, free: 6.285 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.2672, allocations: 39.98 kB / 1.167 GB, free: 6.246 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.473e-05/0.2673, allocations: 27.86 kB / 1.167 GB, free: 6.219 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.788e-05/0.2673, allocations: 39.73 kB / 1.167 GB, free: 6.18 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.2673, allocations: 4 kB / 1.167 GB, free: 6.176 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.092e-05/0.2674, allocations: 8 kB / 1.167 GB, free: 6.168 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.775e-05/0.2674, allocations: 11.92 kB / 1.167 GB, free: 6.156 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.055e-05/0.2674, allocations: 35.8 kB / 1.167 GB, free: 6.121 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.2675, allocations: 75.86 kB / 1.167 GB, free: 6.047 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.2676, allocations: 4 kB / 1.167 GB, free: 6.043 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2676, allocations: 0 / 1.167 GB, free: 6.043 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.2676, allocations: 0 / 1.167 GB, free: 6.043 MB / 0.92 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.0004149/0.268, allocations: 383 kB / 1.168 GB, free: 5.617 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.268, allocations: 12.03 kB / 1.168 GB, free: 5.605 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.969e-05/0.2681, allocations: 38.73 kB / 1.168 GB, free: 5.559 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.226e-05/0.2681, allocations: 16.84 kB / 1.168 GB, free: 5.543 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.2683, allocations: 192.2 kB / 1.168 GB, free: 5.316 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.2684, allocations: 8.375 kB / 1.168 GB, free: 5.309 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.2684, allocations: 8.312 kB / 1.168 GB, free: 5.301 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.2685, allocations: 105.8 kB / 1.168 GB, free: 5.188 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.2686, allocations: 7.875 kB / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.2686, allocations: 4 kB / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.2686, allocations: 0 / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.04e-05/0.2686, allocations: 31.98 kB / 1.168 GB, free: 5.145 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005184/0.2692, allocations: 436.7 kB / 1.169 GB, free: 4.664 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.722e-05/0.2692, allocations: 41.16 kB / 1.169 GB, free: 4.605 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.148e-05/0.2693, allocations: 33.86 kB / 1.169 GB, free: 4.566 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 6.021e-06/0.2693, allocations: 0 / 1.169 GB, free: 4.566 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.2693, allocations: 30.56 kB / 1.169 GB, free: 4.527 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.2693, allocations: 0 / 1.169 GB, free: 4.527 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001559/0.2695, allocations: 61.53 kB / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.2696, allocations: 77.11 kB / 1.169 GB, free: 4.367 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.2697, allocations: 160.9 kB / 1.169 GB, free: 4.203 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.2697, allocations: 25.7 kB / 1.169 GB, free: 4.172 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.757e-05/0.2698, allocations: 100.1 kB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.28e-05/0.2698, allocations: 11.89 kB / 1.169 GB, free: 4.059 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.132e-05/0.2698, allocations: 13.72 kB / 1.169 GB, free: 4.039 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.27, allocations: 327.1 kB / 1.169 GB, free: 3.711 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.784e-05/0.27, allocations: 8 kB / 1.169 GB, free: 3.703 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.359e-05/0.27, allocations: 17.7 kB / 1.169 GB, free: 3.68 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.868e-05/0.2701, allocations: 29.66 kB / 1.169 GB, free: 3.645 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.2701, allocations: 0 / 1.169 GB, free: 3.645 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.871e-05/0.2702, allocations: 61.59 kB / 1.17 GB, free: 3.578 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.2702, allocations: 15.94 kB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.2702, allocations: 0 / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.2702, allocations: 0 / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.687e-05/0.2703, allocations: 8 kB / 1.17 GB, free: 3.555 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.2703, allocations: 0 / 1.17 GB, free: 3.555 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.607e-05/0.2703, allocations: 0 / 1.17 GB, free: 3.555 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.2703, allocations: 4 kB / 1.17 GB, free: 3.551 MB / 0.92 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 8.03e-05/0.2704, allocations: 113.8 kB / 1.17 GB, free: 3.43 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.181e-05/0.2705, allocations: 11.89 kB / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.383e-05/0.2705, allocations: 15.86 kB / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.2705, allocations: 4 kB / 1.17 GB, free: 3.395 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.2705, allocations: 0 / 1.17 GB, free: 3.395 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.2705, allocations: 3.938 kB / 1.17 GB, free: 3.391 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004/0.2709, allocations: 474.7 kB / 1.17 GB, free: 2.863 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2709, allocations: 0 / 1.17 GB, free: 2.863 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.047e-05/0.271, allocations: 7.938 kB / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.271, allocations: 64 / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.271, allocations: 4 kB / 1.17 GB, free: 2.852 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.271, allocations: 0 / 1.17 GB, free: 2.852 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.271, allocations: 4 kB / 1.17 GB, free: 2.848 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.497e-05/0.2711, allocations: 81.81 kB / 1.17 GB, free: 2.746 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.472e-05/0.2712, allocations: 93.05 kB / 1.17 GB, free: 2.637 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.2712, allocations: 0 / 1.17 GB, free: 2.637 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.963e-05/0.2712, allocations: 4.031 kB / 1.17 GB, free: 2.633 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.736e-06/0.2712, allocations: 0 / 1.17 GB, free: 2.633 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.2712, allocations: 4 kB / 1.17 GB, free: 2.629 MB / 0.92 GB Notification: Performance of sorting global known variables: time 9.023e-05/0.2713, allocations: 117.5 kB / 1.17 GB, free: 2.516 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2713, allocations: 4 kB / 1.17 GB, free: 2.512 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001863/0.2715, allocations: 7.938 kB / 1.17 GB, free: 2.504 MB / 0.92 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.0003907/0.2719, allocations: 0.621 MB / 1.171 GB, free: 1.852 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 7.213e-05/0.272, allocations: 20 kB / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.272, allocations: 0 / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 2.062e-05/0.272, allocations: 7.938 kB / 1.171 GB, free: 1.824 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000145/0.2722, allocations: 8 kB / 1.171 GB, free: 1.816 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.2734, allocations: 1.338 MB / 1.172 GB, free: 388 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.2737, allocations: 0.6962 MB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.921e-05/0.2737, allocations: 4.438 kB / 1.173 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.083e-05/0.2738, allocations: 27.42 kB / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of SimCode: time 3.31e-07/0.2738, allocations: 4 kB / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5101/0.7839, allocations: 1.571 MB / 1.175 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.302/10.09, allocations: 18.62 kB / 1.175 GB, free: 14.13 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_quad_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_quad.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches