Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.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: translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized") 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: 110.1 kB / 16.42 MB, free: 6.496 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.001811/0.001812, allocations: 188.3 kB / 17.35 MB, free: 5.762 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.41/1.41, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.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.353/2.353, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 63.91 kB / 0.9515 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.038/1.04, allocations: 140.4 MB / 1.089 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002679/1.042, allocations: 1.439 MB / 1.09 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001241/1.044, allocations: 0.794 MB / 1.091 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.166e-05/1.044, allocations: 1.219 kB / 1.091 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.731e-05/1.044, allocations: 4.5 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.5e-05/1.044, allocations: 1.438 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004979/1.044, allocations: 137.6 kB / 1.091 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.817e-05/1.044, allocations: 31.02 kB / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.968e-05/1.045, allocations: 7.906 kB / 1.091 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.037e-05/1.045, allocations: 18.36 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.807e-05/1.045, allocations: 20.98 kB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/1.045, allocations: 3.281 kB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005827/1.045, allocations: 324.4 kB / 1.091 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.746e-05/1.045, allocations: 2.766 kB / 1.091 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.102e-05/1.045, allocations: 13.31 kB / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003775/1.046, allocations: 193.7 kB / 1.092 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/1.046, allocations: 4.75 kB / 1.092 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.633e-06/1.046, allocations: 0 / 1.092 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.959e-06/1.046, allocations: 0.75 kB / 1.092 GB, free: 3.73 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005076/1.046, allocations: 375.5 kB / 1.092 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/1.046, allocations: 9.516 kB / 1.092 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005033/1.047, allocations: 70.16 kB / 1.092 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.237e-05/1.047, allocations: 167.6 kB / 1.092 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/1.047, allocations: 1.781 kB / 1.092 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/1.047, allocations: 5.688 kB / 1.092 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003376/1.047, allocations: 86.02 kB / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/1.047, allocations: 0.7812 kB / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/1.047, allocations: 4 kB / 1.092 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/1.047, allocations: 0.6562 kB / 1.092 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004543/1.048, allocations: 88.89 kB / 1.092 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005049/1.048, allocations: 305.6 kB / 1.093 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003843/1.049, allocations: 92.8 kB / 1.093 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002206/1.049, allocations: 51.47 kB / 1.093 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/1.049, allocations: 0.6562 kB / 1.093 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/1.049, allocations: 35.91 kB / 1.093 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/1.049, allocations: 0 / 1.093 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0007803/1.05, allocations: 169.2 kB / 1.093 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.027e-05/1.05, allocations: 52.47 kB / 1.093 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.729e-05/1.05, allocations: 105.8 kB / 1.093 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/1.05, allocations: 25.7 kB / 1.093 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.249e-05/1.05, allocations: 87.44 kB / 1.093 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/1.05, allocations: 9.656 kB / 1.093 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.658e-05/1.05, allocations: 13.08 kB / 1.093 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.07e-05/1.05, allocations: 317.1 kB / 1.094 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002269/1.05, allocations: 43.11 kB / 1.094 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/1.051, allocations: 45.77 kB / 1.094 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000418/1.051, allocations: 89.59 kB / 1.094 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/1.051, allocations: 4.625 kB / 1.094 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004906/1.052, allocations: 127 kB / 1.094 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/1.052, allocations: 5.844 kB / 1.094 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/1.052, allocations: 0 / 1.094 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/1.052, allocations: 1.516 kB / 1.094 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/1.052, allocations: 24.7 kB / 1.094 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/1.052, allocations: 0.7812 kB / 1.094 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/1.052, allocations: 16.47 kB / 1.094 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/1.052, allocations: 1.375 kB / 1.094 GB, free: 1.926 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (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 prepare postOptimizeDAE: time 6.574e-05/1.052, allocations: 116.8 kB / 1.094 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.005e-05/1.052, allocations: 5.438 kB / 1.094 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.575e-05/1.052, allocations: 9.141 kB / 1.094 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/1.052, allocations: 0 / 1.094 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-06/1.052, allocations: 1.094 kB / 1.094 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.428e-05/1.052, allocations: 82.56 kB / 1.094 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/1.052, allocations: 5.422 kB / 1.094 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/1.052, allocations: 21.44 kB / 1.094 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/1.052, allocations: 10.34 kB / 1.094 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005898/1.053, allocations: 218.3 kB / 1.094 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005154/1.053, allocations: 293.8 kB / 1.095 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002369/1.054, allocations: 48.08 kB / 1.095 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.068e-05/1.054, allocations: 84.61 kB / 1.095 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of Backend: time 2.8e-07/1.054, allocations: 0.9062 kB / 1.095 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0007855/1.055, allocations: 180.4 kB / 1.095 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0004372/1.055, allocations: 0.5517 MB / 1.095 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of Templates: time 0.005593/1.061, allocations: 1.718 MB / 1.097 GB, free: 420 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches