Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001509/0.001509, 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.001504/0.001504, allocations: 223.7 kB / 23.05 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.545/1.545, allocations: 230.6 MB / 256.8 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.296/3.296, allocations: 0.5003 GB / 0.8062 GB, free: 26.78 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_latest_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.001996/0.001996, allocations: 68.97 kB / 1.171 GB, free: 19.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3492, allocations: 179 MB / 1.345 GB, free: 464 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002883/0.3521, allocations: 1.485 MB / 1.347 GB, free: 14.96 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001409/0.3535, allocations: 0.8411 MB / 1.348 GB, free: 14.11 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.707e-05/0.3536, allocations: 4 kB / 1.348 GB, free: 14.11 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.712e-05/0.3536, allocations: 3.938 kB / 1.348 GB, free: 14.1 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.749e-05/0.3536, allocations: 3.938 kB / 1.348 GB, free: 14.1 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005326/0.3542, allocations: 123.5 kB / 1.348 GB, free: 13.98 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.3543, allocations: 43.91 kB / 1.348 GB, free: 13.93 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.268e-05/0.3544, allocations: 4 kB / 1.348 GB, free: 13.93 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.213e-05/0.3544, allocations: 19.92 kB / 1.348 GB, free: 13.91 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.94e-05/0.3545, allocations: 15.97 kB / 1.348 GB, free: 13.89 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.3545, allocations: 4 kB / 1.348 GB, free: 13.89 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005162/0.355, allocations: 319.4 kB / 1.348 GB, free: 13.58 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.641e-05/0.355, allocations: 7.938 kB / 1.348 GB, free: 13.57 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.999e-05/0.3551, allocations: 15.92 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003422/0.3554, allocations: 199.7 kB / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3554, allocations: 3.938 kB / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3554, allocations: 0 / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.3554, allocations: 4 kB / 1.348 GB, free: 13.35 MB / 1.045 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.0005557/0.356, allocations: 297.9 kB / 1.349 GB, free: 13.03 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.356, allocations: 12.03 kB / 1.349 GB, free: 13.02 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.869e-05/0.3561, allocations: 192 / 1.349 GB, free: 13.02 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.35e-05/0.3561, allocations: 34.73 kB / 1.349 GB, free: 12.98 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004828/0.3566, allocations: 72.81 kB / 1.349 GB, free: 12.91 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.3567, allocations: 106.5 kB / 1.349 GB, free: 12.78 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.3567, allocations: 4.375 kB / 1.349 GB, free: 12.77 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.3567, allocations: 4.375 kB / 1.349 GB, free: 12.77 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003469/0.3571, allocations: 85.56 kB / 1.349 GB, free: 12.68 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.3571, allocations: 3.984 kB / 1.349 GB, free: 12.68 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.3571, allocations: 0 / 1.349 GB, free: 12.68 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.3571, allocations: 0 / 1.349 GB, free: 12.68 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005287/0.3576, allocations: 91.84 kB / 1.349 GB, free: 12.59 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006824/0.3583, allocations: 267.9 kB / 1.349 GB, free: 12.28 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004171/0.3587, allocations: 102.5 kB / 1.349 GB, free: 12.17 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002287/0.359, allocations: 48.88 kB / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.359, allocations: 0 / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.359, allocations: 34.56 kB / 1.349 GB, free: 12.08 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.359, allocations: 0 / 1.349 GB, free: 12.08 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0008011/0.3598, allocations: 173.5 kB / 1.35 GB, free: 11.9 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.3599, allocations: 55.41 kB / 1.35 GB, free: 11.84 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.36, allocations: 101.8 kB / 1.35 GB, free: 11.73 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.36, allocations: 29.64 kB / 1.35 GB, free: 11.69 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.449e-05/0.3601, allocations: 88.14 kB / 1.35 GB, free: 11.6 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.3601, allocations: 7.891 kB / 1.35 GB, free: 11.59 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-05/0.3601, allocations: 13.72 kB / 1.35 GB, free: 11.57 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.3603, allocations: 326.8 kB / 1.35 GB, free: 11.25 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002187/0.3605, allocations: 39.95 kB / 1.35 GB, free: 11.21 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/0.3607, allocations: 47.95 kB / 1.35 GB, free: 11.16 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004115/0.3611, allocations: 92.77 kB / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3612, allocations: 0 / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004876/0.3616, allocations: 125.6 kB / 1.35 GB, free: 10.94 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.3617, allocations: 5.719 kB / 1.35 GB, free: 10.93 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.3617, allocations: 0 / 1.35 GB, free: 10.93 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.3617, allocations: 0 / 1.35 GB, free: 10.93 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.3619, allocations: 28 kB / 1.351 GB, free: 10.91 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.3619, allocations: 0 / 1.351 GB, free: 10.91 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/0.362, allocations: 11.98 kB / 1.351 GB, free: 10.89 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.362, allocations: 7.938 kB / 1.351 GB, free: 10.89 MB / 1.045 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 9.05e-05/0.3621, allocations: 113.8 kB / 1.351 GB, free: 10.77 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.844e-05/0.3621, allocations: 0 / 1.351 GB, free: 10.77 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.441e-05/0.3622, allocations: 11.31 kB / 1.351 GB, free: 10.75 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3622, allocations: 4.25 kB / 1.351 GB, free: 10.75 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3622, allocations: 0 / 1.351 GB, free: 10.75 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.3622, allocations: 4 kB / 1.351 GB, free: 10.75 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/0.3624, allocations: 148.6 kB / 1.351 GB, free: 10.56 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3624, allocations: 0 / 1.351 GB, free: 10.56 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.3625, allocations: 27.91 kB / 1.351 GB, free: 10.53 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3625, allocations: 0 / 1.351 GB, free: 10.53 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.3626, allocations: 0 / 1.351 GB, free: 10.53 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3626, allocations: 4 kB / 1.351 GB, free: 10.53 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3626, allocations: 0 / 1.351 GB, free: 10.53 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005255/0.3631, allocations: 219.4 kB / 1.351 GB, free: 10.3 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.196e-05/0.3631, allocations: 4 kB / 1.351 GB, free: 10.29 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.3631, allocations: 0 / 1.351 GB, free: 10.29 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.3633, allocations: 15.97 kB / 1.351 GB, free: 10.28 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.785e-05/0.3633, allocations: 8.031 kB / 1.351 GB, free: 10.27 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.3633, allocations: 3.938 kB / 1.351 GB, free: 10.27 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.428e-05/0.3634, allocations: 87.27 kB / 1.351 GB, free: 10.18 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3634, allocations: 0 / 1.351 GB, free: 10.18 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002566/0.3636, allocations: 15.94 kB / 1.351 GB, free: 10.16 MB / 1.045 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.0009412/0.3646, allocations: 0.7552 MB / 1.352 GB, free: 9.379 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005567/0.3651, allocations: 103.9 kB / 1.352 GB, free: 9.277 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3651, allocations: 0 / 1.352 GB, free: 9.277 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002266/0.3653, allocations: 47.89 kB / 1.352 GB, free: 9.23 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.3657, allocations: 7.984 kB / 1.352 GB, free: 9.223 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008179/0.3665, allocations: 199 kB / 1.352 GB, free: 8.988 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.3668, allocations: 0.6846 MB / 1.353 GB, free: 8.277 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 6.852e-05/0.3668, allocations: 8 kB / 1.353 GB, free: 8.27 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.316e-05/0.3669, allocations: 11.44 kB / 1.353 GB, free: 8.258 MB / 1.045 GB Notification: Performance of SimCode: time 1.202e-06/0.3669, allocations: 0 / 1.353 GB, free: 8.258 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02265/0.3895, allocations: 1.828 MB / 1.355 GB, free: 6.578 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.73, allocations: 13.44 kB / 1.355 GB, free: 6.57 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_InverseXRegularized.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.746748812962323]