Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.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.001713/0.001713, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 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.002544/0.002544, allocations: 218.8 kB / 23.04 MB, free: 5.074 MB / 14.72 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 1.517/1.517, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.823/2.823, allocations: 476.7 MB / 0.7714 GB, free: 4.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 65.25 kB / 1.118 GB, free: 39.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2973, allocations: 169.9 MB / 1.284 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.003004/0.3003, allocations: 1.472 MB / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001454/0.3018, allocations: 0.839 MB / 1.286 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.201e-05/0.3018, allocations: 0 / 1.286 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.044e-05/0.3018, allocations: 3.938 kB / 1.286 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.165e-05/0.3019, allocations: 7.938 kB / 1.286 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004625/0.3023, allocations: 127.5 kB / 1.287 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.175e-05/0.3024, allocations: 39.91 kB / 1.287 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.447e-05/0.3025, allocations: 3.984 kB / 1.287 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.087e-05/0.3025, allocations: 19.92 kB / 1.287 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.197e-05/0.3026, allocations: 19.92 kB / 1.287 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.3026, allocations: 4 kB / 1.287 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004797/0.3031, allocations: 323.4 kB / 1.287 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.438e-05/0.3031, allocations: 7.984 kB / 1.287 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.483e-05/0.3031, allocations: 11.94 kB / 1.287 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003067/0.3034, allocations: 203 kB / 1.287 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.3034, allocations: 0 / 1.287 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3034, allocations: 0 / 1.287 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.3035, allocations: 0 / 1.287 GB, free: 8.527 MB / 0.9825 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.0005229/0.304, allocations: 305.9 kB / 1.287 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.304, allocations: 8.031 kB / 1.287 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.086e-05/0.304, allocations: 192 / 1.287 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.158e-05/0.3041, allocations: 30.75 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004706/0.3045, allocations: 72.84 kB / 1.288 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.3047, allocations: 114.4 kB / 1.288 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.3047, allocations: 384 / 1.288 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.3047, allocations: 4.125 kB / 1.288 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003256/0.305, allocations: 89.61 kB / 1.288 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.3051, allocations: 0 / 1.288 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.3051, allocations: 4 kB / 1.288 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.3051, allocations: 4 kB / 1.288 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000433/0.3055, allocations: 91.83 kB / 1.288 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005748/0.3061, allocations: 267.9 kB / 1.288 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004115/0.3065, allocations: 94.5 kB / 1.288 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002229/0.3067, allocations: 44.88 kB / 1.288 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.3067, allocations: 0 / 1.288 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.3068, allocations: 46.48 kB / 1.288 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.3068, allocations: 3.938 kB / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0008391/0.3076, allocations: 161.6 kB / 1.288 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.3077, allocations: 51.41 kB / 1.288 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.3078, allocations: 106 kB / 1.289 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.3078, allocations: 25.7 kB / 1.289 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.916e-05/0.3078, allocations: 88.14 kB / 1.289 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/0.3079, allocations: 7.891 kB / 1.289 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.884e-05/0.3079, allocations: 17.7 kB / 1.289 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002061/0.3081, allocations: 318.8 kB / 1.289 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/0.3084, allocations: 43.95 kB / 1.289 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002125/0.3086, allocations: 43.95 kB / 1.289 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004191/0.309, allocations: 92.77 kB / 1.289 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.309, allocations: 4 kB / 1.289 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004873/0.3095, allocations: 129.5 kB / 1.289 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.3095, allocations: 4 kB / 1.289 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.3095, allocations: 0 / 1.289 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.3095, allocations: 0 / 1.289 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001743/0.3097, allocations: 23.97 kB / 1.289 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.3097, allocations: 0 / 1.289 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.3098, allocations: 24 kB / 1.289 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.3098, allocations: 0 / 1.289 GB, free: 6.059 MB / 0.9825 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 0.0001327/0.31, allocations: 109.8 kB / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.153e-05/0.31, allocations: 4 kB / 1.289 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.297e-05/0.31, allocations: 7.312 kB / 1.289 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.31, allocations: 0 / 1.289 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.31, allocations: 3.938 kB / 1.289 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.31, allocations: 3.984 kB / 1.289 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001975/0.3102, allocations: 144.7 kB / 1.29 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.3102, allocations: 0 / 1.29 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.3104, allocations: 27.91 kB / 1.29 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3104, allocations: 0 / 1.29 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.3104, allocations: 0 / 1.29 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.3104, allocations: 256 / 1.29 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3104, allocations: 0 / 1.29 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005385/0.3109, allocations: 231.3 kB / 1.29 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.151e-05/0.311, allocations: 8 kB / 1.29 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.311, allocations: 0 / 1.29 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.3111, allocations: 19.97 kB / 1.29 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.3112, allocations: 3.984 kB / 1.29 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.3112, allocations: 0 / 1.29 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.99e-05/0.3112, allocations: 83.28 kB / 1.29 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3112, allocations: 4.031 kB / 1.29 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002551/0.3115, allocations: 19.88 kB / 1.29 GB, free: 5.336 MB / 0.9825 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.0009009/0.3124, allocations: 0.7563 MB / 1.291 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004849/0.3129, allocations: 91.94 kB / 1.291 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.3129, allocations: 4 kB / 1.291 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002255/0.3131, allocations: 51.94 kB / 1.291 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.3134, allocations: 4 kB / 1.291 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007635/0.3142, allocations: 199.1 kB / 1.291 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.3145, allocations: 0.6768 MB / 1.292 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.909e-05/0.3146, allocations: 12 kB / 1.292 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.619e-05/0.3146, allocations: 15.44 kB / 1.292 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.3146, allocations: 0 / 1.292 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02277/0.3374, allocations: 1.822 MB / 1.294 GB, free: 1.766 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.81, allocations: 18.38 kB / 1.294 GB, free: 1.754 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_InverseXRegularized.fmu > Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.581973869993817]