Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_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_9_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.001565/0.001565, allocations: 100.1 kB / 15.88 MB, free: 12 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.00207/0.00207, allocations: 197.9 kB / 16.79 MB, free: 6.809 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.43/1.43, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.43/2.43, allocations: 390.2 MB / 0.6649 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 67.89 kB / 0.8125 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6118/0.6133, allocations: 140.4 MB / 0.9496 GB, free: 9.426 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.001816/0.6152, allocations: 0.8816 MB / 0.9504 GB, free: 8.746 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 8.87e-05/0.6153, allocations: 40.69 kB / 0.9505 GB, free: 8.711 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.72e-05/0.6153, allocations: 4.938 kB / 0.9505 GB, free: 8.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.508e-05/0.6154, allocations: 8.875 kB / 0.9505 GB, free: 8.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.878e-05/0.6155, allocations: 8 kB / 0.9505 GB, free: 8.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.933e-05/0.6155, allocations: 16.45 kB / 0.9505 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.585e-05/0.6156, allocations: 54.05 kB / 0.9506 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.6157, allocations: 39.33 kB / 0.9506 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.972e-05/0.6158, allocations: 26.84 kB / 0.9506 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.766e-05/0.6158, allocations: 29.12 kB / 0.9507 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.6159, allocations: 4.875 kB / 0.9507 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.628e-06/0.6159, allocations: 2.906 kB / 0.9507 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.645e-05/0.6159, allocations: 13.73 kB / 0.9507 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.052e-05/0.6159, allocations: 34.67 kB / 0.9507 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.467e-05/0.616, allocations: 48.27 kB / 0.9508 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.616, allocations: 3.938 kB / 0.9508 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.232e-06/0.616, allocations: 1.156 kB / 0.9508 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.616, allocations: 0 / 0.9508 GB, free: 8.504 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.0003056/0.6163, allocations: 377.9 kB / 0.9511 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.6164, allocations: 9.781 kB / 0.9511 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.34e-05/0.6164, allocations: 13.61 kB / 0.9511 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.6165, allocations: 195.9 kB / 0.9513 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.6166, allocations: 2.406 kB / 0.9513 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.6166, allocations: 13.5 kB / 0.9513 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.6167, allocations: 90.02 kB / 0.9514 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.6167, allocations: 5.531 kB / 0.9514 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.6167, allocations: 7.938 kB / 0.9514 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.6168, allocations: 3.125 kB / 0.9514 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.828e-05/0.6168, allocations: 38.81 kB / 0.9515 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003998/0.6172, allocations: 433.1 kB / 0.9519 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.095e-05/0.6173, allocations: 41.69 kB / 0.9519 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.973e-05/0.6173, allocations: 19.28 kB / 0.952 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.138e-06/0.6173, allocations: 0 / 0.952 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.141e-05/0.6174, allocations: 31.84 kB / 0.952 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.6174, allocations: 1.219 kB / 0.952 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000148/0.6175, allocations: 66.69 kB / 0.9521 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.252e-05/0.6175, allocations: 77.11 kB / 0.9521 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.6177, allocations: 159.8 kB / 0.9523 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.941e-06/0.6177, allocations: 31.11 kB / 0.9523 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.774e-05/0.6177, allocations: 108 kB / 0.9524 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.563e-06/0.6177, allocations: 5.438 kB / 0.9524 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.643e-05/0.6178, allocations: 16.84 kB / 0.9524 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.184e-05/0.6178, allocations: 329.8 kB / 0.9527 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.543e-05/0.6178, allocations: 2.938 kB / 0.9527 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.662e-05/0.6178, allocations: 17.78 kB / 0.9528 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.212e-05/0.6179, allocations: 31.2 kB / 0.9528 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.6179, allocations: 0 / 0.9528 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.878e-05/0.618, allocations: 55.45 kB / 0.9528 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.618, allocations: 13.44 kB / 0.9529 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.618, allocations: 3.938 kB / 0.9529 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.618, allocations: 1.375 kB / 0.9529 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.54e-05/0.6181, allocations: 9.484 kB / 0.9529 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.6181, allocations: 0 / 0.9529 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.668e-05/0.6181, allocations: 2.75 kB / 0.9529 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.459e-06/0.6181, allocations: 1.375 kB / 0.9529 GB, free: 6.34 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.571e-05/0.6182, allocations: 114 kB / 0.953 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.227e-05/0.6182, allocations: 8.031 kB / 0.953 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.133e-05/0.6182, allocations: 26.64 kB / 0.953 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.6182, allocations: 3.938 kB / 0.953 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.6183, allocations: 5.359 kB / 0.953 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.6183, allocations: 0 / 0.953 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002506/0.6185, allocations: 471.4 kB / 0.9535 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.6185, allocations: 0 / 0.9535 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.88e-05/0.6185, allocations: 2.75 kB / 0.9535 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.6186, allocations: 5.438 kB / 0.9535 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.6186, allocations: 0 / 0.9535 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.6186, allocations: 1.375 kB / 0.9535 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.6186, allocations: 1.375 kB / 0.9535 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.214e-05/0.6187, allocations: 86.14 kB / 0.9536 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.753e-05/0.6187, allocations: 87.7 kB / 0.9537 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.6187, allocations: 5.406 kB / 0.9537 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.073e-05/0.6187, allocations: 0 / 0.9537 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.45e-05/0.6188, allocations: 5.359 kB / 0.9537 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.6188, allocations: 1.375 kB / 0.9537 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.145e-05/0.6188, allocations: 124.5 kB / 0.9538 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6188, allocations: 0 / 0.9538 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001891/0.619, allocations: 8.25 kB / 0.9538 GB, free: 5.383 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 8.504e-05/0.6191, allocations: 96.06 kB / 0.9539 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.838e-05/0.6192, allocations: 22.06 kB / 0.9539 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6192, allocations: 1.25 kB / 0.9539 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.819e-06/0.6192, allocations: 3.875 kB / 0.9539 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001529/0.6194, allocations: 14.97 kB / 0.9539 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000248/0.6196, allocations: 216.9 kB / 0.9541 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.476e-05/0.6197, allocations: 0.6952 MB / 0.9548 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.135e-05/0.6198, allocations: 10.69 kB / 0.9548 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of SimCode: time 3.21e-07/0.6198, allocations: 0 / 0.9548 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of Templates: time 0.001972/0.6217, allocations: 0.8521 MB / 0.9557 GB, free: 3.906 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches