Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_latest_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_latest_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.001342/0.001342, allocations: 105.5 kB / 16.27 MB, free: 6.414 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.00129/0.00129, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.437/1.437, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.798/2.798, allocations: 482.4 MB / 0.7553 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002499/0.002499, allocations: 68.78 kB / 0.9245 GB, free: 4 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9134/0.916, allocations: 162.2 MB / 1.083 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.00189/0.9179, allocations: 0.6359 MB / 1.084 GB, free: 1.262 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001756/0.9196, allocations: 1.456 MB / 1.085 GB, free: 200 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.385e-05/0.9197, allocations: 0 / 1.085 GB, free: 200 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.299e-05/0.9198, allocations: 0.5 kB / 1.085 GB, free: 200 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.883e-05/0.9198, allocations: 6.578 kB / 1.085 GB, free: 196 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000414/0.9202, allocations: 126.2 kB / 1.085 GB, free: 136 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.548e-05/0.9203, allocations: 25.34 kB / 1.085 GB, free: 128 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.75e-05/0.9204, allocations: 3.703 kB / 1.085 GB, free: 128 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.522e-05/0.9204, allocations: 11.22 kB / 1.085 GB, free: 124 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.231e-05/0.9205, allocations: 23.47 kB / 1.085 GB, free: 112 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.9205, allocations: 6.781 kB / 1.085 GB, free: 108 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004943/0.921, allocations: 310.1 kB / 1.085 GB, free: 24 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.418e-05/0.921, allocations: 7.656 kB / 1.085 GB, free: 20 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.466e-05/0.921, allocations: 25.09 kB / 1.085 GB, free: 0 / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003345/0.9214, allocations: 184.2 kB / 1.086 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.9214, allocations: 0 / 1.086 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.172e-06/0.9214, allocations: 1.031 kB / 1.086 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.9214, allocations: 0 / 1.086 GB, free: 15.95 MB / 0.8419 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.0005275/0.9219, allocations: 382.3 kB / 1.086 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.922, allocations: 9.344 kB / 1.086 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003787/0.9224, allocations: 62.73 kB / 1.086 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.9225, allocations: 179 kB / 1.086 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.9226, allocations: 1.625 kB / 1.086 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.9226, allocations: 3.219 kB / 1.086 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002764/0.9229, allocations: 73 kB / 1.086 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.9229, allocations: 4 kB / 1.086 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.9229, allocations: 4 kB / 1.086 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.9229, allocations: 2.031 kB / 1.086 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003791/0.9233, allocations: 74.83 kB / 1.086 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002/0.9235, allocations: 166 kB / 1.087 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005687/0.9241, allocations: 121.4 kB / 1.087 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001923/0.9243, allocations: 43.84 kB / 1.087 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.9243, allocations: 1.219 kB / 1.087 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.9243, allocations: 40.09 kB / 1.087 GB, free: 15 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=5): time 3.085e-06/0.9244, allocations: 5.266 kB / 1.087 GB, free: 14.99 MB / 0.8419 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.004293/0.9287, allocations: 0.7928 MB / 1.088 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.786e-05/0.9287, allocations: 54.86 kB / 1.088 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.9288, allocations: 108.2 kB / 1.088 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.9289, allocations: 26.7 kB / 1.088 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.639e-05/0.9289, allocations: 88.28 kB / 1.088 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.312e-05/0.929, allocations: 30.86 kB / 1.088 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.396e-05/0.9291, allocations: 28.98 kB / 1.088 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.9292, allocations: 316.9 kB / 1.088 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000465/0.9297, allocations: 101.5 kB / 1.088 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004404/0.9301, allocations: 96.48 kB / 1.088 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008942/0.931, allocations: 191 kB / 1.089 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.9311, allocations: 0 / 1.089 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001023/0.9321, allocations: 248.3 kB / 1.089 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.9321, allocations: 5.031 kB / 1.089 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.9321, allocations: 0 / 1.089 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.9322, allocations: 2.484 kB / 1.089 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003335/0.9325, allocations: 58.16 kB / 1.089 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.9325, allocations: 0 / 1.089 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002471/0.9328, allocations: 45.66 kB / 1.089 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.9328, allocations: 4.75 kB / 1.089 GB, free: 14.04 MB / 0.8419 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 0.000112/0.9329, allocations: 120.6 kB / 1.089 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.385e-05/0.9329, allocations: 2.781 kB / 1.089 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.566e-05/0.933, allocations: 10.97 kB / 1.089 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.933, allocations: 1.5 kB / 1.089 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.933, allocations: 0 / 1.089 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.933, allocations: 2.031 kB / 1.089 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00188/0.9349, allocations: 0.5949 MB / 1.09 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.9349, allocations: 0.9062 kB / 1.09 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002826/0.9352, allocations: 62.94 kB / 1.09 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.9352, allocations: 1.281 kB / 1.09 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.9352, allocations: 4.453 kB / 1.09 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.9353, allocations: 1.75 kB / 1.09 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.9353, allocations: 1.594 kB / 1.09 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.9363, allocations: 348.5 kB / 1.09 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.784e-05/0.9364, allocations: 80.47 kB / 1.09 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/0.9364, allocations: 6.391 kB / 1.09 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002663/0.9367, allocations: 32.22 kB / 1.09 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.955e-05/0.9368, allocations: 20.88 kB / 1.09 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.9368, allocations: 5.469 kB / 1.09 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.669e-05/0.9369, allocations: 93.69 kB / 1.09 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9369, allocations: 1.094 kB / 1.09 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003458/0.9372, allocations: 37.27 kB / 1.09 GB, free: 13.14 MB / 0.8419 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.0002491/0.9375, allocations: 132.5 kB / 1.09 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001053/0.9385, allocations: 212.1 kB / 1.091 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.9385, allocations: 0 / 1.091 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000474/0.939, allocations: 109.3 kB / 1.091 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.9393, allocations: 7.125 kB / 1.091 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.941, allocations: 441.7 kB / 1.091 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.9414, allocations: 0.6932 MB / 1.092 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.296e-05/0.9415, allocations: 20.02 kB / 1.092 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of SimCode: time 6.51e-07/0.9415, allocations: 0 / 1.092 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of Templates: time 0.004016/0.9455, allocations: 1.433 MB / 1.093 GB, free: 11.96 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches