Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_latest_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.007711/0.007711, allocations: 97.23 kB / 15.73 MB, free: 6.059 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.001556/0.001556, allocations: 192.8 kB / 16.67 MB, free: 5.965 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 / 240.4 MB, free: 4.145 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.775/2.775, allocations: 472.6 MB / 0.7453 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 64.12 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3239, allocations: 159.9 MB / 1.226 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002986/0.3269, allocations: 1.448 MB / 1.227 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001255/0.3282, allocations: 0.7904 MB / 1.228 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.527e-05/0.3282, allocations: 0 / 1.228 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.003e-05/0.3283, allocations: 3.938 kB / 1.228 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.993e-05/0.3283, allocations: 11.92 kB / 1.228 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005071/0.3289, allocations: 123.5 kB / 1.228 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.083e-05/0.3289, allocations: 35.92 kB / 1.228 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.647e-05/0.3291, allocations: 4 kB / 1.228 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.05e-05/0.3291, allocations: 11.98 kB / 1.228 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.431e-05/0.3292, allocations: 23.91 kB / 1.228 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.3292, allocations: 8 kB / 1.228 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005053/0.3297, allocations: 319.3 kB / 1.228 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.627e-05/0.3297, allocations: 7.938 kB / 1.228 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.192e-05/0.3298, allocations: 15.92 kB / 1.228 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003369/0.3301, allocations: 195.5 kB / 1.229 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.3301, allocations: 0 / 1.229 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3302, allocations: 0 / 1.229 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.3302, allocations: 0 / 1.229 GB, free: 6.18 MB / 0.9825 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.000538/0.3307, allocations: 379 kB / 1.229 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.3308, allocations: 12.03 kB / 1.229 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004789/0.3312, allocations: 72.8 kB / 1.229 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.3314, allocations: 164.3 kB / 1.229 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.3314, allocations: 384 / 1.229 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.3314, allocations: 4.375 kB / 1.229 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003045/0.3317, allocations: 89.88 kB / 1.229 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.3317, allocations: 4 kB / 1.229 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.3318, allocations: 3.984 kB / 1.229 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.3318, allocations: 0 / 1.229 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004308/0.3322, allocations: 95.84 kB / 1.229 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005122/0.3327, allocations: 292.8 kB / 1.23 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003764/0.3331, allocations: 98.47 kB / 1.23 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002096/0.3333, allocations: 56.88 kB / 1.23 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.3334, allocations: 0 / 1.23 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.3334, allocations: 30.56 kB / 1.23 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.3334, allocations: 0 / 1.23 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0007417/0.3342, allocations: 169.5 kB / 1.23 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.3342, allocations: 55.41 kB / 1.23 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.306e-05/0.3343, allocations: 105.8 kB / 1.23 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.3343, allocations: 29.7 kB / 1.23 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.523e-05/0.3344, allocations: 84.27 kB / 1.23 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.3344, allocations: 11.94 kB / 1.23 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-05/0.3344, allocations: 13.72 kB / 1.23 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.975e-05/0.3345, allocations: 318.8 kB / 1.231 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002073/0.3347, allocations: 39.95 kB / 1.231 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.335, allocations: 43.95 kB / 1.231 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003904/0.3354, allocations: 100.7 kB / 1.231 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3354, allocations: 0 / 1.231 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004402/0.3358, allocations: 121.6 kB / 1.231 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.3358, allocations: 8 kB / 1.231 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3358, allocations: 3.938 kB / 1.231 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.3359, allocations: 4.031 kB / 1.231 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.336, allocations: 19.97 kB / 1.231 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.336, allocations: 0 / 1.231 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.3362, allocations: 15.98 kB / 1.231 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.3362, allocations: 0 / 1.231 GB, free: 3.559 MB / 0.9825 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 7.507e-05/0.3363, allocations: 125.8 kB / 1.231 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.929e-05/0.3363, allocations: 3.953 kB / 1.231 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.89e-05/0.3364, allocations: 3.125 kB / 1.231 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.3364, allocations: 4 kB / 1.231 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.3364, allocations: 0 / 1.231 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3364, allocations: 0 / 1.231 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.3366, allocations: 173.6 kB / 1.231 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.3366, allocations: 0 / 1.231 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/0.3367, allocations: 27.91 kB / 1.231 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.3367, allocations: 0 / 1.231 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.3367, allocations: 4 kB / 1.231 GB, free: 3.164 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3368, allocations: 3.938 kB / 1.231 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3368, allocations: 0 / 1.231 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004927/0.3373, allocations: 219.4 kB / 1.231 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.471e-05/0.3373, allocations: 77.11 kB / 1.232 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.3373, allocations: 0 / 1.232 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.3375, allocations: 24 kB / 1.232 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.3375, allocations: 0 / 1.232 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.3375, allocations: 4.25 kB / 1.232 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.034e-05/0.3376, allocations: 91.27 kB / 1.232 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3376, allocations: 0 / 1.232 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002496/0.3378, allocations: 11.94 kB / 1.232 GB, free: 2.707 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.0001691/0.338, allocations: 119.1 kB / 1.232 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004738/0.3385, allocations: 95.89 kB / 1.232 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3385, allocations: 0 / 1.232 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000216/0.3387, allocations: 43.95 kB / 1.232 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.339, allocations: 16 kB / 1.232 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005407/0.3396, allocations: 157.4 kB / 1.232 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002005/0.3398, allocations: 0.6845 MB / 1.233 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.066e-05/0.3399, allocations: 11.95 kB / 1.233 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.698e-05/0.3399, allocations: 7.438 kB / 1.233 GB, free: 1.516 MB / 0.9825 GB Notification: Performance of SimCode: time 1.563e-06/0.3399, allocations: 0 / 1.233 GB, free: 1.516 MB / 0.9825 GB Notification: Performance of Templates: time 0.003033/0.343, allocations: 0.8118 MB / 1.234 GB, free: 0.707 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches