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.001456/0.001456, allocations: 108 kB / 15.61 MB, free: 152 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.001672/0.001673, allocations: 193 kB / 16.53 MB, free: 6.664 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.35/1.35, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.733/2.733, allocations: 472.6 MB / 0.7451 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002296/0.002296, allocations: 69.5 kB / 0.9121 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3251, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.00307/0.3282, allocations: 0.6283 MB / 1.069 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002851/0.3311, allocations: 1.468 MB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.695e-05/0.3312, allocations: 0 / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.649e-05/0.3313, allocations: 0 / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.339e-05/0.3314, allocations: 7.922 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007514/0.3321, allocations: 123.5 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.274e-05/0.3322, allocations: 23.98 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.884e-05/0.3323, allocations: 4 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.476e-05/0.3324, allocations: 15.86 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.337e-05/0.3325, allocations: 23.91 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.3325, allocations: 0 / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000833/0.3333, allocations: 315.4 kB / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.133e-05/0.3334, allocations: 11.92 kB / 1.071 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.369e-05/0.3334, allocations: 11.92 kB / 1.071 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000515/0.334, allocations: 187.9 kB / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.334, allocations: 3.938 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of FrontEnd: time 5.63e-06/0.334, allocations: 0 / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.737e-06/0.334, allocations: 3.938 kB / 1.071 GB, free: 7.559 MB / 0.8262 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.0008691/0.3349, allocations: 379.3 kB / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.832e-05/0.335, allocations: 12.03 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005768/0.3356, allocations: 60.77 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003036/0.3359, allocations: 168.3 kB / 1.072 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.314e-05/0.3359, allocations: 8.375 kB / 1.072 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.251e-05/0.336, allocations: 384 / 1.072 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004439/0.3364, allocations: 77.95 kB / 1.072 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.3365, allocations: 0 / 1.072 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.3365, allocations: 0 / 1.072 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.3365, allocations: 3.984 kB / 1.072 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005589/0.3371, allocations: 79.91 kB / 1.072 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003085/0.3374, allocations: 165.7 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009023/0.3383, allocations: 126.5 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002941/0.3386, allocations: 44.94 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.3387, allocations: 0 / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.104e-05/0.3387, allocations: 42.5 kB / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.963e-06/0.3387, allocations: 0 / 1.072 GB, free: 6.254 MB / 0.8262 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.005721/0.3445, allocations: 0.7895 MB / 1.073 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.774e-05/0.3445, allocations: 51.41 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.3447, allocations: 113.8 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.3447, allocations: 25.7 kB / 1.073 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.3449, allocations: 96.12 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.951e-05/0.3449, allocations: 31.55 kB / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.394e-05/0.345, allocations: 25.7 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.3451, allocations: 318.8 kB / 1.073 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004393/0.3456, allocations: 91.91 kB / 1.074 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004168/0.346, allocations: 103.8 kB / 1.074 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008223/0.3468, allocations: 196.6 kB / 1.074 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3469, allocations: 0 / 1.074 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000944/0.3478, allocations: 245.3 kB / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.712e-05/0.3479, allocations: 8 kB / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.3479, allocations: 0 / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.3479, allocations: 4.359 kB / 1.074 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003251/0.3482, allocations: 47.95 kB / 1.074 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.3483, allocations: 7.984 kB / 1.074 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002351/0.3485, allocations: 31.97 kB / 1.074 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.3485, allocations: 11.92 kB / 1.074 GB, free: 4.02 MB / 0.8262 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.0001062/0.3486, allocations: 121.7 kB / 1.074 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/0.3487, allocations: 4 kB / 1.074 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.094e-05/0.3487, allocations: 12.38 kB / 1.074 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.3487, allocations: 0 / 1.074 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.3487, allocations: 0 / 1.074 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.3488, allocations: 3.984 kB / 1.074 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001836/0.3506, allocations: 0.5977 MB / 1.075 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.3506, allocations: 0 / 1.075 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002611/0.3509, allocations: 52 kB / 1.075 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.3509, allocations: 4 kB / 1.075 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.3509, allocations: 4.75 kB / 1.075 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.3509, allocations: 7.938 kB / 1.075 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.3509, allocations: 0 / 1.075 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00137/0.3523, allocations: 344.9 kB / 1.075 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.016e-05/0.3524, allocations: 77.11 kB / 1.075 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.233e-05/0.3525, allocations: 8 kB / 1.075 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003466/0.3528, allocations: 39.95 kB / 1.075 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.185e-05/0.3529, allocations: 11.92 kB / 1.075 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.3529, allocations: 7.984 kB / 1.075 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.777e-05/0.353, allocations: 91.27 kB / 1.076 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.01e-07/0.353, allocations: 0 / 1.076 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003073/0.3533, allocations: 39.98 kB / 1.076 GB, free: 2.496 MB / 0.8262 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.0002437/0.3535, allocations: 139.7 kB / 1.076 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0009494/0.3545, allocations: 207.7 kB / 1.076 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.3545, allocations: 0 / 1.076 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0004446/0.355, allocations: 112 kB / 1.076 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.3552, allocations: 11.94 kB / 1.076 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/0.3569, allocations: 406.1 kB / 1.076 GB, free: 1.598 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003834/0.3573, allocations: 0.6902 MB / 1.077 GB, free: 0.8828 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001101/0.3574, allocations: 24.61 kB / 1.077 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.248e-05/0.3575, allocations: 23.42 kB / 1.077 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of SimCode: time 4.11e-07/0.3575, allocations: 0 / 1.077 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of Templates: time 0.004514/0.362, allocations: 1.654 MB / 1.079 GB, free: 15.18 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=480 -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/jenkins/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