Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.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.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.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001199/0.001199, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.208/1.208, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.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.003/2.003, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001192, allocations: 68.59 kB / 0.814 GB, free: 32.59 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2162, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001556/0.2178, allocations: 0.6365 MB / 0.9517 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001453/0.2192, allocations: 1.456 MB / 0.9532 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.077e-05/0.2192, allocations: 0 / 0.9532 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.919e-06/0.2193, allocations: 0 / 0.9532 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.412e-05/0.2193, allocations: 7.922 kB / 0.9532 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003381/0.2197, allocations: 123.5 kB / 0.9533 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.9e-05/0.2197, allocations: 27.86 kB / 0.9533 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.322e-05/0.2198, allocations: 4 kB / 0.9533 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.996e-05/0.2198, allocations: 19.91 kB / 0.9533 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.397e-05/0.2199, allocations: 23.86 kB / 0.9534 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.054e-05/0.2199, allocations: 0 / 0.9534 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003845/0.2203, allocations: 311.4 kB / 0.9537 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.342e-05/0.2203, allocations: 11.98 kB / 0.9537 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.51e-05/0.2203, allocations: 19.8 kB / 0.9537 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002337/0.2206, allocations: 179.7 kB / 0.9539 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.2206, allocations: 0 / 0.9539 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2206, allocations: 4 kB / 0.9539 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.2206, allocations: 0 / 0.9539 GB, free: 5.219 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004071/0.221, allocations: 391.2 kB / 0.9542 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.221, allocations: 12.03 kB / 0.9543 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003246/0.2214, allocations: 56.86 kB / 0.9543 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.2215, allocations: 172.3 kB / 0.9545 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.2215, allocations: 4.375 kB / 0.9545 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.2215, allocations: 8.312 kB / 0.9545 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002257/0.2218, allocations: 77.95 kB / 0.9546 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.2218, allocations: 0 / 0.9546 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.2218, allocations: 0 / 0.9546 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.2218, allocations: 4 kB / 0.9546 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003038/0.2221, allocations: 75.84 kB / 0.9546 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000149/0.2223, allocations: 169.6 kB / 0.9548 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004676/0.2228, allocations: 126.5 kB / 0.9549 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001532/0.2229, allocations: 40.95 kB / 0.955 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.054e-05/0.2229, allocations: 0 / 0.955 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.223, allocations: 42.48 kB / 0.955 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 7.42e-07/0.223, allocations: 0 / 0.955 GB, free: 3.902 MB / 0.7325 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=9): time 0.003537/0.2265, allocations: 0.7909 MB / 0.9558 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.579e-05/0.2265, allocations: 51.41 kB / 0.9558 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.726e-05/0.2266, allocations: 113.8 kB / 0.9559 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.2266, allocations: 25.7 kB / 0.956 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.03e-05/0.2267, allocations: 88.14 kB / 0.956 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.335e-05/0.2267, allocations: 31.55 kB / 0.9561 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.147e-05/0.2268, allocations: 29.7 kB / 0.9561 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.788e-05/0.2269, allocations: 314.8 kB / 0.9564 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00037/0.2272, allocations: 99.84 kB / 0.9565 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003682/0.2276, allocations: 103.9 kB / 0.9566 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007003/0.2283, allocations: 192.7 kB / 0.9568 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.2283, allocations: 0 / 0.9568 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007804/0.2291, allocations: 237.4 kB / 0.957 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.2291, allocations: 8 kB / 0.957 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.2292, allocations: 4 kB / 0.957 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.2292, allocations: 0 / 0.957 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/0.2295, allocations: 51.94 kB / 0.9571 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.2295, allocations: 0 / 0.9571 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/0.2297, allocations: 35.95 kB / 0.9571 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.2297, allocations: 7.984 kB / 0.9571 GB, free: 1.684 MB / 0.7325 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 (9): * Single equations (assignments): 9 * 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.461e-05/0.2298, allocations: 121.7 kB / 0.9572 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.828e-05/0.2298, allocations: 3.906 kB / 0.9572 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.084e-05/0.2298, allocations: 20.38 kB / 0.9572 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2299, allocations: 3.938 kB / 0.9572 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.2299, allocations: 0 / 0.9572 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.2299, allocations: 0 / 0.9572 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001363/0.2312, allocations: 0.6013 MB / 0.9578 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.2312, allocations: 0 / 0.9578 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002298/0.2315, allocations: 55.88 kB / 0.9579 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.2315, allocations: 8.047 kB / 0.9579 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.2315, allocations: 4 kB / 0.9579 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/0.2315, allocations: 288 / 0.9579 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2315, allocations: 0 / 0.9579 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007721/0.2323, allocations: 348.9 kB / 0.9582 GB, free: 444 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.689e-05/0.2323, allocations: 81.02 kB / 0.9583 GB, free: 344 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.2324, allocations: 4 kB / 0.9583 GB, free: 340 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.2326, allocations: 39.95 kB / 0.9583 GB, free: 300 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.415e-05/0.2326, allocations: 12.3 kB / 0.9584 GB, free: 288 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.2327, allocations: 7.984 kB / 0.9584 GB, free: 280 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.946e-05/0.2327, allocations: 87.28 kB / 0.9585 GB, free: 192 kB / 0.7325 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2327, allocations: 0 / 0.9585 GB, free: 192 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002577/0.233, allocations: 39.98 kB / 0.9585 GB, free: 152 kB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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.0001683/0.2331, allocations: 131.2 kB / 0.9586 GB, free: 8 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007957/0.2339, allocations: 207.8 kB / 0.9588 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.234, allocations: 0 / 0.9588 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003788/0.2343, allocations: 112 kB / 0.9589 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.2346, allocations: 4 kB / 0.9589 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.2358, allocations: 398.4 kB / 0.9593 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001967/0.236, allocations: 0.696 MB / 0.96 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 8.443e-05/0.2361, allocations: 20.67 kB / 0.96 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.117e-05/0.2362, allocations: 19.42 kB / 0.96 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of SimCode: time 1.703e-06/0.2362, allocations: 288 / 0.96 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of Templates: time 0.003495/0.2397, allocations: 1.649 MB / 0.9616 GB, free: 12.86 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches