Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000994/0.000994, allocations: 71.75 kB / 20.97 MB, free: 3.578 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 169 kB / 24.28 MB, free: 276 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9985/0.9985, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.895/1.895, allocations: 377.8 MB / 0.6239 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.8116 GB, free: 1.996 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.223e-05/2.358e-05, allocations: 5.844 kB / 0.8116 GB, free: 1.992 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001198/0.001222, allocations: 0.6416 MB / 0.8122 GB, free: 1.371 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001639/0.002861, allocations: 1.471 MB / 0.8137 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.231e-05/0.002893, allocations: 1.406 kB / 0.8137 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.742e-05/0.00291, allocations: 3.938 kB / 0.8137 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.993e-05/0.00298, allocations: 7.875 kB / 0.8137 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003454/0.003326, allocations: 125.9 kB / 0.8138 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.237e-05/0.003388, allocations: 28.56 kB / 0.8138 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.916e-05/0.003427, allocations: 4 kB / 0.8138 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 4.87e-05/0.003476, allocations: 17.17 kB / 0.8138 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.412e-05/0.00353, allocations: 15.92 kB / 0.8138 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.003546, allocations: 3.984 kB / 0.8139 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002678/0.003814, allocations: 257.8 kB / 0.8141 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/0.003831, allocations: 7.984 kB / 0.8141 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.97e-05/0.00385, allocations: 7.938 kB / 0.8141 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002215/0.004072, allocations: 195.5 kB / 0.8143 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.004074, allocations: 0 / 0.8143 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.01e-07/0.004075, allocations: 0 / 0.8143 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.137e-06/0.004079, allocations: 0 / 0.8143 GB, free: 15.23 MB / 0.7761 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.0003882/0.004467, allocations: 402.2 kB / 0.8147 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.004505, allocations: 8.031 kB / 0.8147 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002123/0.004718, allocations: 50.72 kB / 0.8147 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.004818, allocations: 128.4 kB / 0.8149 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.004832, allocations: 0.9062 kB / 0.8149 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.004851, allocations: 5.25 kB / 0.8149 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.005002, allocations: 71.73 kB / 0.8149 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.00501, allocations: 4.656 kB / 0.8149 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.005019, allocations: 4.375 kB / 0.8149 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.005027, allocations: 5.312 kB / 0.8149 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.704e-05/0.005074, allocations: 19.98 kB / 0.815 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001295/0.005204, allocations: 124.7 kB / 0.8151 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.938e-05/0.005293, allocations: 56.14 kB / 0.8151 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.111e-05/0.005324, allocations: 19.67 kB / 0.8152 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.00534, allocations: 8.906 kB / 0.8152 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.005359, allocations: 33.39 kB / 0.8152 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 1.263e-06/0.005361, allocations: 0.5938 kB / 0.8152 GB, free: 14.18 MB / 0.7761 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.001178/0.006539, allocations: 399.5 kB / 0.8156 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.00657, allocations: 56.59 kB / 0.8156 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.001e-05/0.00665, allocations: 173.9 kB / 0.8158 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.006664, allocations: 29.7 kB / 0.8158 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.475e-05/0.006699, allocations: 131.8 kB / 0.816 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/0.006731, allocations: 31.7 kB / 0.816 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.51e-05/0.006777, allocations: 35.36 kB / 0.816 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.973e-05/0.006876, allocations: 0.4892 MB / 0.8165 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.477e-05/0.006931, allocations: 23.98 kB / 0.8165 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.666e-05/0.006978, allocations: 33.2 kB / 0.8166 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.471e-05/0.007062, allocations: 45.16 kB / 0.8166 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.007063, allocations: 0 / 0.8166 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001419/0.007205, allocations: 99.92 kB / 0.8167 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.007218, allocations: 4 kB / 0.8167 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.007224, allocations: 7.922 kB / 0.8167 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.007238, allocations: 0 / 0.8167 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.007375, allocations: 42.98 kB / 0.8167 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.00738, allocations: 0 / 0.8167 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.812e-05/0.007448, allocations: 23.98 kB / 0.8168 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.007457, allocations: 8.922 kB / 0.8168 GB, free: 12.52 MB / 0.7761 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 6.814e-05/0.007525, allocations: 164.5 kB / 0.8169 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.715e-05/0.007543, allocations: 9.078 kB / 0.8169 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.427e-05/0.007577, allocations: 12.38 kB / 0.817 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.007579, allocations: 0 / 0.817 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.007583, allocations: 9.062 kB / 0.817 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.007588, allocations: 3.984 kB / 0.817 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000511/0.008099, allocations: 440.2 kB / 0.8174 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.008101, allocations: 0 / 0.8174 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.082e-05/0.008192, allocations: 42.28 kB / 0.8174 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.008194, allocations: 3.938 kB / 0.8174 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.008206, allocations: 7.984 kB / 0.8174 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.008208, allocations: 0 / 0.8174 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.008209, allocations: 1.094 kB / 0.8174 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.00838, allocations: 259.8 kB / 0.8177 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.157e-06/0.008389, allocations: 7.984 kB / 0.8177 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.008405, allocations: 5.031 kB / 0.8177 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.188e-05/0.008487, allocations: 23.2 kB / 0.8177 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.398e-05/0.008521, allocations: 7.984 kB / 0.8177 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.00853, allocations: 7.984 kB / 0.8177 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.836e-05/0.008568, allocations: 131.2 kB / 0.8179 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.008568, allocations: 0 / 0.8179 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001937/0.008762, allocations: 35.92 kB / 0.8179 GB, free: 11.3 MB / 0.7761 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.000164/0.008926, allocations: 131.8 kB / 0.818 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001583/0.009084, allocations: 77.23 kB / 0.8181 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.009086, allocations: 0 / 0.8181 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.729e-05/0.009143, allocations: 47.8 kB / 0.8181 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/0.009317, allocations: 15.92 kB / 0.8182 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005015/0.009819, allocations: 277.3 kB / 0.8184 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.721e-05/0.009856, allocations: 59.36 kB / 0.8185 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.316e-05/0.009919, allocations: 29.31 kB / 0.8185 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.348e-05/0.009973, allocations: 20.48 kB / 0.8185 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of SimCode: time 8.32e-07/0.009973, allocations: 0 / 0.8185 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of Templates: time 0.00348/0.01345, allocations: 1.802 MB / 0.8203 GB, free: 8.805 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.016060005873442]