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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001485/0.001485, allocations: 104.5 kB / 16.37 MB, free: 6.316 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.00166/0.00166, allocations: 186.3 kB / 17.3 MB, free: 5.871 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.675/1.675, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.644/2.644, allocations: 442.6 MB / 0.7166 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 67.62 kB / 0.8774 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3672, allocations: 153 MB / 1.027 GB, free: 2.074 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.003145/0.3704, allocations: 1.451 MB / 1.028 GB, free: 0.6172 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001319/0.3717, allocations: 0.7989 MB / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.319e-05/0.3718, allocations: 0 / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.826e-05/0.3718, allocations: 0 / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.75e-05/0.3719, allocations: 7.938 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004601/0.3724, allocations: 123.5 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.108e-05/0.3724, allocations: 35.98 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.152e-05/0.3725, allocations: 3.984 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.113e-05/0.3726, allocations: 15.94 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.898e-05/0.3727, allocations: 27.89 kB / 1.029 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.695e-05/0.3727, allocations: 0 / 1.029 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000459/0.3732, allocations: 315.4 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.529e-05/0.3732, allocations: 7.938 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.416e-05/0.3732, allocations: 15.98 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003024/0.3735, allocations: 191.6 kB / 1.03 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.3736, allocations: 0 / 1.03 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3736, allocations: 4 kB / 1.03 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.3736, allocations: 0 / 1.03 GB, free: 15.07 MB / 0.8106 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.0005587/0.3741, allocations: 375.3 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.3742, allocations: 12.03 kB / 1.03 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004512/0.3746, allocations: 64.84 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.3748, allocations: 168.4 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.3748, allocations: 384 / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.3749, allocations: 384 / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003091/0.3752, allocations: 93.94 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.3752, allocations: 7.922 kB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.3752, allocations: 4 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.3752, allocations: 0 / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004137/0.3756, allocations: 91.91 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005369/0.3762, allocations: 308.7 kB / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003766/0.3766, allocations: 90.5 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002262/0.3768, allocations: 56.88 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.3768, allocations: 0 / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.3769, allocations: 34.5 kB / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.3769, allocations: 0 / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0007171/0.3776, allocations: 165.5 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.3776, allocations: 55.53 kB / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.035e-05/0.3777, allocations: 105.8 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.3777, allocations: 25.7 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.816e-05/0.3778, allocations: 84.08 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/0.3778, allocations: 3.906 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.166e-05/0.3779, allocations: 17.72 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.378, allocations: 314.8 kB / 1.032 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002031/0.3782, allocations: 47.95 kB / 1.032 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001942/0.3784, allocations: 51.89 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003719/0.3788, allocations: 88.83 kB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/0.3788, allocations: 3.938 kB / 1.032 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004407/0.3792, allocations: 125.5 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.3793, allocations: 4 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.3793, allocations: 4 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.3793, allocations: 0 / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.3795, allocations: 19.97 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.3795, allocations: 0 / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.3796, allocations: 20.02 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.3796, allocations: 3.984 kB / 1.032 GB, free: 12.45 MB / 0.8106 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 8.762e-05/0.3797, allocations: 121.7 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.87e-05/0.3798, allocations: 7.844 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.338e-05/0.3798, allocations: 3.125 kB / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.3798, allocations: 0 / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3798, allocations: 4 kB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.749e-05/0.3799, allocations: 81.11 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.3799, allocations: 0 / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.38, allocations: 15.97 kB / 1.032 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.737e-05/0.3801, allocations: 11.94 kB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005647/0.3806, allocations: 216.8 kB / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005742/0.3812, allocations: 294.7 kB / 1.033 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002064/0.3815, allocations: 39.95 kB / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.649e-05/0.3815, allocations: 91.56 kB / 1.033 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of Backend: time 6.41e-07/0.3815, allocations: 0 / 1.033 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007393/0.3823, allocations: 170.3 kB / 1.033 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of SimCode: time 0.0006278/0.3829, allocations: 0.5533 MB / 1.034 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of Templates: time 0.004706/0.3876, allocations: 1.722 MB / 1.035 GB, free: 9.039 MB / 0.8106 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches