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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001748/0.001748, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.002417/0.002418, allocations: 195.6 kB / 16.14 MB, free: 6.645 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.664/1.664, allocations: 222.9 MB / 239.8 MB, free: 4.598 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.87/2.87, allocations: 437 MB / 0.71 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001969, allocations: 63.91 kB / 0.8686 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7209/0.7228, allocations: 151.6 MB / 1.017 GB, free: 2.742 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002337/0.7252, allocations: 0.8818 MB / 1.018 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001135/0.7254, allocations: 43.78 kB / 1.018 GB, free: 1.82 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.298e-05/0.7254, allocations: 0 / 1.018 GB, free: 1.82 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.771e-05/0.7255, allocations: 3.938 kB / 1.018 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.337e-05/0.7256, allocations: 4 kB / 1.018 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.882e-05/0.7256, allocations: 19.98 kB / 1.018 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.7258, allocations: 59.78 kB / 1.018 GB, free: 1.734 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001641/0.7259, allocations: 39.97 kB / 1.018 GB, free: 1.695 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.184e-05/0.726, allocations: 19.86 kB / 1.018 GB, free: 1.676 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.575e-05/0.7261, allocations: 31.86 kB / 1.018 GB, free: 1.645 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.7261, allocations: 4 kB / 1.018 GB, free: 1.641 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.147e-05/0.7261, allocations: 4 kB / 1.018 GB, free: 1.637 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.834e-05/0.7261, allocations: 15.91 kB / 1.018 GB, free: 1.621 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.755e-05/0.7262, allocations: 31.75 kB / 1.018 GB, free: 1.59 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001219/0.7263, allocations: 73.67 kB / 1.018 GB, free: 1.52 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.7263, allocations: 3.938 kB / 1.018 GB, free: 1.516 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.022e-06/0.7263, allocations: 0 / 1.018 GB, free: 1.516 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.7263, allocations: 0 / 1.018 GB, free: 1.516 MB / 0.7637 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.000546/0.7269, allocations: 384.9 kB / 1.018 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.7269, allocations: 8.031 kB / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.666e-05/0.727, allocations: 12.84 kB / 1.018 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.7272, allocations: 196.2 kB / 1.018 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.7273, allocations: 4.375 kB / 1.018 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.7273, allocations: 8.375 kB / 1.018 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.7275, allocations: 99.78 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.7275, allocations: 4.188 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.7275, allocations: 7.938 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.7275, allocations: 0 / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.569e-05/0.7276, allocations: 39.92 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006055/0.7282, allocations: 428.7 kB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 6.453e-05/0.7283, allocations: 49.12 kB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.543e-05/0.7284, allocations: 17.84 kB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 7.504e-06/0.7284, allocations: 0 / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.7284, allocations: 34.56 kB / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.7284, allocations: 0 / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0002179/0.7286, allocations: 69.47 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.7287, allocations: 77.11 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.7289, allocations: 163.9 kB / 1.019 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.7289, allocations: 25.7 kB / 1.019 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.009e-05/0.729, allocations: 99.98 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.557e-06/0.729, allocations: 7.891 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.549e-05/0.729, allocations: 17.72 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.7292, allocations: 323 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.95e-05/0.7292, allocations: 8 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.732e-05/0.7293, allocations: 17.72 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.242e-05/0.7293, allocations: 25.66 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.7293, allocations: 0 / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.089e-05/0.7294, allocations: 61.53 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.7294, allocations: 8.062 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.7295, allocations: 7.938 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.7295, allocations: 0 / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.345e-05/0.7295, allocations: 8 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.7296, allocations: 0 / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.115e-05/0.7296, allocations: 3.906 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-06/0.7296, allocations: 4 kB / 1.02 GB, free: 15.07 MB / 0.7794 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 0.0001079/0.7297, allocations: 121.8 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.208e-05/0.7298, allocations: 7.906 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.997e-05/0.7298, allocations: 15.81 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.7298, allocations: 0 / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.7298, allocations: 4 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.7298, allocations: 0 / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004247/0.7303, allocations: 474.8 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.7303, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.259e-05/0.7303, allocations: 7.984 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.7303, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.7303, allocations: 8 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.7303, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.7303, allocations: 7.938 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.36e-05/0.7304, allocations: 77.84 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.83e-05/0.7305, allocations: 88.94 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.7305, allocations: 8 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.295e-05/0.7306, allocations: 4.031 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.117e-05/0.7306, allocations: 0 / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-06/0.7306, allocations: 0 / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.897e-05/0.7307, allocations: 121.3 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7307, allocations: 0 / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000187/0.7309, allocations: 8 kB / 1.021 GB, free: 14.03 MB / 0.7794 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.0001306/0.731, allocations: 100 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.178e-05/0.7311, allocations: 23.92 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.7311, allocations: 0 / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.374e-05/0.7311, allocations: 8 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001663/0.7313, allocations: 7.938 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003734/0.7317, allocations: 188.7 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/0.7321, allocations: 0.6926 MB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.977e-05/0.7321, allocations: 8.422 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.166e-05/0.7322, allocations: 11.44 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of SimCode: time 5.31e-07/0.7322, allocations: 3.938 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of Templates: time 0.002927/0.7351, allocations: 439.1 kB / 1.022 GB, free: 12.49 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile (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 & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > 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/jenkins/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