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.0009373/0.0009374, allocations: 92.62 kB / 16.02 MB, free: 80 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.0008581/0.0008581, allocations: 183.1 kB / 16.92 MB, free: 6.926 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.336/1.336, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.64/2.64, allocations: 443.2 MB / 0.7181 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003868/0.0003868, allocations: 8.969 kB / 0.8801 GB, free: 42.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3089, allocations: 155.2 MB / 1.032 GB, free: 4.781 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.001563/0.3105, allocations: 1.164 MB / 1.033 GB, free: 3.609 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001216/0.3117, allocations: 0.7957 MB / 1.034 GB, free: 2.805 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.468e-05/0.3118, allocations: 4 kB / 1.034 GB, free: 2.801 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.451e-05/0.3118, allocations: 0 / 1.034 GB, free: 2.801 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.371e-05/0.3119, allocations: 3.938 kB / 1.034 GB, free: 2.797 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004076/0.3123, allocations: 99.75 kB / 1.034 GB, free: 2.699 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.082e-05/0.3124, allocations: 35.86 kB / 1.034 GB, free: 2.664 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.338e-05/0.3125, allocations: 7.984 kB / 1.034 GB, free: 2.656 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.068e-05/0.3125, allocations: 7.984 kB / 1.034 GB, free: 2.648 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.156e-05/0.3126, allocations: 27.91 kB / 1.034 GB, free: 2.621 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.3126, allocations: 0 / 1.034 GB, free: 2.621 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004607/0.3131, allocations: 319.3 kB / 1.034 GB, free: 2.309 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.91e-05/0.3131, allocations: 7.984 kB / 1.034 GB, free: 2.301 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.674e-05/0.3131, allocations: 37.62 kB / 1.034 GB, free: 2.258 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.3134, allocations: 136.1 kB / 1.034 GB, free: 2.125 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3134, allocations: 0 / 1.034 GB, free: 2.125 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3134, allocations: 0 / 1.034 GB, free: 2.125 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.3134, allocations: 3.938 kB / 1.034 GB, free: 2.121 MB / 0.7794 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.0004946/0.3139, allocations: 375.5 kB / 1.035 GB, free: 1.707 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.3139, allocations: 8.031 kB / 1.035 GB, free: 1.699 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005005/0.3144, allocations: 88.75 kB / 1.035 GB, free: 1.613 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.3146, allocations: 160.4 kB / 1.035 GB, free: 1.418 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/0.3146, allocations: 4.375 kB / 1.035 GB, free: 1.414 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.3146, allocations: 8.375 kB / 1.035 GB, free: 1.406 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003177/0.3149, allocations: 93.94 kB / 1.035 GB, free: 1.309 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.315, allocations: 4 kB / 1.035 GB, free: 1.305 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.315, allocations: 3.984 kB / 1.035 GB, free: 1.301 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.315, allocations: 4 kB / 1.035 GB, free: 1.297 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004549/0.3154, allocations: 111.8 kB / 1.035 GB, free: 1.188 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005094/0.316, allocations: 312.8 kB / 1.035 GB, free: 0.832 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004095/0.3164, allocations: 118.5 kB / 1.035 GB, free: 0.707 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002313/0.3166, allocations: 60.88 kB / 1.035 GB, free: 0.6445 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.3166, allocations: 4 kB / 1.035 GB, free: 0.6406 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.3167, allocations: 30.56 kB / 1.036 GB, free: 0.6016 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/0.3167, allocations: 0 / 1.036 GB, free: 0.6016 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0008075/0.3175, allocations: 213.5 kB / 1.036 GB, free: 396 kB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.3175, allocations: 51.41 kB / 1.036 GB, free: 332 kB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.523e-05/0.3176, allocations: 105.8 kB / 1.036 GB, free: 216 kB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.3176, allocations: 25.7 kB / 1.036 GB, free: 184 kB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.774e-05/0.3177, allocations: 84.14 kB / 1.036 GB, free: 96 kB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.237e-05/0.3177, allocations: 3.906 kB / 1.036 GB, free: 92 kB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.549e-05/0.3177, allocations: 9.719 kB / 1.036 GB, free: 76 kB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.3179, allocations: 318.9 kB / 1.036 GB, free: 15.75 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002332/0.3181, allocations: 59.95 kB / 1.036 GB, free: 15.7 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002198/0.3183, allocations: 55.94 kB / 1.036 GB, free: 15.64 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004401/0.3188, allocations: 124.7 kB / 1.037 GB, free: 15.52 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3188, allocations: 0 / 1.037 GB, free: 15.52 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004898/0.3193, allocations: 141.6 kB / 1.037 GB, free: 15.37 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.3193, allocations: 5.406 kB / 1.037 GB, free: 15.37 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3193, allocations: 3.938 kB / 1.037 GB, free: 15.36 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.3193, allocations: 3.984 kB / 1.037 GB, free: 15.36 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.3195, allocations: 28.02 kB / 1.037 GB, free: 15.33 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.3195, allocations: 0 / 1.037 GB, free: 15.33 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.3197, allocations: 27.97 kB / 1.037 GB, free: 15.3 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.3197, allocations: 4 kB / 1.037 GB, free: 15.3 MB / 0.795 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.036e-05/0.3197, allocations: 115.3 kB / 1.037 GB, free: 15.18 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.3198, allocations: 0 / 1.037 GB, free: 15.18 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.017e-05/0.3198, allocations: 11.11 kB / 1.037 GB, free: 15.16 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.3198, allocations: 0 / 1.037 GB, free: 15.16 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.3198, allocations: 3.938 kB / 1.037 GB, free: 15.16 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-06/0.3198, allocations: 0 / 1.037 GB, free: 15.16 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/0.32, allocations: 169.6 kB / 1.037 GB, free: 14.95 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.32, allocations: 0 / 1.037 GB, free: 14.95 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.3202, allocations: 35.91 kB / 1.037 GB, free: 14.91 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3202, allocations: 0 / 1.037 GB, free: 14.91 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.3202, allocations: 3.984 kB / 1.037 GB, free: 14.91 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3202, allocations: 0 / 1.037 GB, free: 14.91 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3202, allocations: 0 / 1.037 GB, free: 14.91 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000529/0.3207, allocations: 247.3 kB / 1.037 GB, free: 14.65 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.457e-05/0.3208, allocations: 81.09 kB / 1.037 GB, free: 14.55 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.3208, allocations: 4.25 kB / 1.037 GB, free: 14.55 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.321, allocations: 28.02 kB / 1.037 GB, free: 14.52 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.321, allocations: 7.984 kB / 1.037 GB, free: 14.51 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.3211, allocations: 0 / 1.037 GB, free: 14.51 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.294e-05/0.3211, allocations: 79.28 kB / 1.037 GB, free: 14.43 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3211, allocations: 0 / 1.037 GB, free: 14.43 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002472/0.3214, allocations: 20 kB / 1.037 GB, free: 14.41 MB / 0.795 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.0001422/0.3215, allocations: 111.2 kB / 1.038 GB, free: 14.3 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004957/0.322, allocations: 115.9 kB / 1.038 GB, free: 14.18 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.322, allocations: 0 / 1.038 GB, free: 14.18 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002389/0.3223, allocations: 68 kB / 1.038 GB, free: 14.12 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.3225, allocations: 7.875 kB / 1.038 GB, free: 14.11 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005715/0.3231, allocations: 210.4 kB / 1.038 GB, free: 13.87 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002166/0.3234, allocations: 0.677 MB / 1.039 GB, free: 13.17 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.537e-05/0.3234, allocations: 11.44 kB / 1.039 GB, free: 13.16 MB / 0.795 GB Notification: Performance of SimCode: time 4.4e-07/0.3234, allocations: 4 kB / 1.039 GB, free: 13.15 MB / 0.795 GB Notification: Performance of Templates: time 0.002297/0.3257, allocations: 0.8868 MB / 1.04 GB, free: 12.27 MB / 0.795 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