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.001317/0.001317, allocations: 116.7 kB / 17.17 MB, free: 5.977 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.001415/0.001415, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.516/1.516, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.919/2.919, allocations: 476.7 MB / 0.7678 GB, free: 9.363 MB / 0.6075 GB " [Timeout remaining time 176] 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.002175/0.002175, allocations: 71.89 kB / 1.113 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015/1.017, allocations: 169.9 MB / 1.279 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.003054/1.02, allocations: 1.458 MB / 1.28 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001479/1.022, allocations: 0.8411 MB / 1.281 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.451e-05/1.022, allocations: 0 / 1.281 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.769e-05/1.022, allocations: 3.938 kB / 1.281 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.873e-05/1.022, allocations: 1.781 kB / 1.281 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000517/1.022, allocations: 133.3 kB / 1.281 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.156e-05/1.022, allocations: 35.12 kB / 1.281 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/1.022, allocations: 8.531 kB / 1.281 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.591e-05/1.023, allocations: 17.78 kB / 1.281 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.986e-05/1.023, allocations: 16.62 kB / 1.281 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/1.023, allocations: 4 kB / 1.281 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005963/1.023, allocations: 315.5 kB / 1.282 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.801e-05/1.023, allocations: 16.2 kB / 1.282 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.411e-05/1.023, allocations: 16.89 kB / 1.282 GB, free: 9.906 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004495/1.024, allocations: 195 kB / 1.282 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/1.024, allocations: 0.5 kB / 1.282 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.573e-06/1.024, allocations: 3.938 kB / 1.282 GB, free: 9.852 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.5e-06/1.024, allocations: 4.438 kB / 1.282 GB, free: 9.848 MB / 0.9981 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.000644/1.024, allocations: 372.7 kB / 1.282 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/1.024, allocations: 9.531 kB / 1.282 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.799e-05/1.024, allocations: 1.5 kB / 1.282 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.923e-05/1.024, allocations: 39.41 kB / 1.282 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004914/1.025, allocations: 66.7 kB / 1.282 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/1.025, allocations: 172.1 kB / 1.283 GB, free: 9.215 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/1.025, allocations: 384 / 1.283 GB, free: 9.215 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/1.025, allocations: 1.5 kB / 1.283 GB, free: 9.215 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003545/1.026, allocations: 85.69 kB / 1.283 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/1.026, allocations: 8.984 kB / 1.283 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/1.026, allocations: 0.6562 kB / 1.283 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/1.026, allocations: 1.375 kB / 1.283 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004505/1.026, allocations: 92.31 kB / 1.283 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006215/1.027, allocations: 295.4 kB / 1.283 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004354/1.027, allocations: 96.16 kB / 1.283 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002393/1.027, allocations: 51.08 kB / 1.283 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/1.027, allocations: 1.688 kB / 1.283 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/1.027, allocations: 35.22 kB / 1.283 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/1.027, allocations: 0 / 1.283 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0008465/1.028, allocations: 169.1 kB / 1.283 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/1.028, allocations: 52.11 kB / 1.283 GB, free: 8.648 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.934e-05/1.028, allocations: 102.8 kB / 1.284 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/1.028, allocations: 25.7 kB / 1.284 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.116e-05/1.028, allocations: 91.39 kB / 1.284 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/1.028, allocations: 3.953 kB / 1.284 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.823e-05/1.029, allocations: 15.44 kB / 1.284 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001548/1.029, allocations: 324.8 kB / 1.284 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002324/1.029, allocations: 41.47 kB / 1.284 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/1.029, allocations: 47.47 kB / 1.284 GB, free: 8.07 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004375/1.03, allocations: 92.89 kB / 1.284 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/1.03, allocations: 3.938 kB / 1.284 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0005019/1.03, allocations: 127.3 kB / 1.284 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/1.03, allocations: 6.109 kB / 1.284 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/1.03, allocations: 32 / 1.284 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/1.03, allocations: 5.406 kB / 1.284 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/1.03, allocations: 21.08 kB / 1.284 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/1.03, allocations: 0.5625 kB / 1.284 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/1.03, allocations: 20.98 kB / 1.284 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/1.03, allocations: 0.6562 kB / 1.284 GB, free: 7.984 MB / 0.9981 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.0001003/1.031, allocations: 116.9 kB / 1.284 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.947e-05/1.031, allocations: 1.875 kB / 1.284 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.965e-05/1.031, allocations: 9.047 kB / 1.284 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/1.031, allocations: 0.6562 kB / 1.284 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/1.031, allocations: 0 / 1.284 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/1.031, allocations: 1.344 kB / 1.284 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002178/1.031, allocations: 172.6 kB / 1.285 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/1.031, allocations: 0 / 1.285 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/1.031, allocations: 28.81 kB / 1.285 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/1.031, allocations: 0.7031 kB / 1.285 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/1.031, allocations: 2.047 kB / 1.285 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/1.031, allocations: 0 / 1.285 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.031, allocations: 1.438 kB / 1.285 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005727/1.032, allocations: 222.3 kB / 1.285 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.91e-05/1.032, allocations: 79.12 kB / 1.285 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/1.032, allocations: 4.828 kB / 1.285 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/1.032, allocations: 16.92 kB / 1.285 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.492e-05/1.032, allocations: 3.031 kB / 1.285 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/1.032, allocations: 2.109 kB / 1.285 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.987e-05/1.032, allocations: 84.39 kB / 1.285 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.032, allocations: 0 / 1.285 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000259/1.032, allocations: 15.44 kB / 1.285 GB, free: 7.312 MB / 0.9981 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.0009341/1.033, allocations: 0.7691 MB / 1.286 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005166/1.034, allocations: 96.81 kB / 1.286 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/1.034, allocations: 0 / 1.286 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002368/1.034, allocations: 53.27 kB / 1.286 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/1.034, allocations: 6.656 kB / 1.286 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008593/1.035, allocations: 207 kB / 1.286 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/1.035, allocations: 0.6805 MB / 1.287 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.635e-05/1.035, allocations: 7.312 kB / 1.287 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.797e-05/1.036, allocations: 11.7 kB / 1.287 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of SimCode: time 6.72e-07/1.036, allocations: 0 / 1.287 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01928/1.055, allocations: 1.742 MB / 1.289 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.457/9.512, allocations: 11.88 kB / 1.289 GB, free: 5.289 MB / 0.9981 GB " [Timeout remaining time 290] (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: 16.04793541203253]