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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 109.7 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 190.6 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 225.6 MB / 249.3 MB, free: 3.203 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.542/2.542, allocations: 476.7 MB / 0.7628 GB, free: 15.16 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001815/0.001815, allocations: 75.83 kB / 1.107 GB, free: 5.152 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7977/0.7995, allocations: 168.7 MB / 1.271 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002187/0.8017, allocations: 1.469 MB / 1.273 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001011/0.8027, allocations: 0.8038 MB / 1.274 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.368e-05/0.8027, allocations: 0.6875 kB / 1.274 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.275e-05/0.8028, allocations: 8.688 kB / 1.274 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.574e-05/0.8028, allocations: 8.688 kB / 1.274 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003942/0.8032, allocations: 125.6 kB / 1.274 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.599e-05/0.8033, allocations: 31.41 kB / 1.274 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.723e-05/0.8033, allocations: 8.156 kB / 1.274 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.185e-05/0.8034, allocations: 13.34 kB / 1.274 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.435e-05/0.8034, allocations: 25.94 kB / 1.274 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.8034, allocations: 3 kB / 1.274 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004203/0.8039, allocations: 312.1 kB / 1.274 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.346e-05/0.8039, allocations: 6.812 kB / 1.274 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.8039, allocations: 18.31 kB / 1.274 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002861/0.8042, allocations: 203.2 kB / 1.274 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.8042, allocations: 0 / 1.274 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.312e-06/0.8042, allocations: 0.9375 kB / 1.274 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.8042, allocations: 0 / 1.274 GB, free: 5.91 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.000418/0.8046, allocations: 375 kB / 1.275 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.8046, allocations: 11.11 kB / 1.275 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.517e-05/0.8047, allocations: 31.62 kB / 1.275 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004265/0.8051, allocations: 72.03 kB / 1.275 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.04e-05/0.8052, allocations: 166.3 kB / 1.275 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.8052, allocations: 5.438 kB / 1.275 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.8052, allocations: 2.188 kB / 1.275 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000274/0.8055, allocations: 88.45 kB / 1.275 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.8055, allocations: 0 / 1.275 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.8055, allocations: 1.062 kB / 1.275 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.8055, allocations: 3.938 kB / 1.275 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004075/0.8059, allocations: 93.59 kB / 1.275 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004088/0.8063, allocations: 303 kB / 1.275 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003561/0.8067, allocations: 101.4 kB / 1.276 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001981/0.8069, allocations: 46.8 kB / 1.276 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.8069, allocations: 4.844 kB / 1.276 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.444e-05/0.8069, allocations: 33.53 kB / 1.276 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.8069, allocations: 0 / 1.276 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0006842/0.8076, allocations: 166 kB / 1.276 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.155e-05/0.8076, allocations: 58.94 kB / 1.276 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.814e-05/0.8076, allocations: 106.2 kB / 1.276 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.957e-06/0.8077, allocations: 26.64 kB / 1.276 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.089e-05/0.8077, allocations: 85.64 kB / 1.276 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.534e-05/0.8077, allocations: 4.891 kB / 1.276 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/0.8077, allocations: 14.27 kB / 1.276 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.442e-05/0.8078, allocations: 322.4 kB / 1.276 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.808, allocations: 46.12 kB / 1.276 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.8081, allocations: 41.72 kB / 1.276 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003802/0.8085, allocations: 96.62 kB / 1.277 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.8085, allocations: 0 / 1.277 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004196/0.8089, allocations: 123.9 kB / 1.277 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.809, allocations: 4.938 kB / 1.277 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.809, allocations: 1.094 kB / 1.277 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.809, allocations: 0 / 1.277 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.8091, allocations: 21.7 kB / 1.277 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.8091, allocations: 0.5625 kB / 1.277 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.8092, allocations: 21.06 kB / 1.277 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.8093, allocations: 1.25 kB / 1.277 GB, free: 4.047 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 4.29e-05/0.8093, allocations: 116.8 kB / 1.277 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/0.8093, allocations: 5.516 kB / 1.277 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.447e-05/0.8093, allocations: 8 kB / 1.277 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.8093, allocations: 2.859 kB / 1.277 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.8093, allocations: 0 / 1.277 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-06/0.8094, allocations: 4 kB / 1.277 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.8095, allocations: 171.9 kB / 1.277 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.8095, allocations: 0 / 1.277 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001301/0.8096, allocations: 25.81 kB / 1.277 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.8096, allocations: 0.9688 kB / 1.277 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.8096, allocations: 1.094 kB / 1.277 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.8096, allocations: 1.828 kB / 1.277 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.8096, allocations: 0.8438 kB / 1.277 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004347/0.81, allocations: 220.8 kB / 1.277 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.434e-05/0.8101, allocations: 85.45 kB / 1.277 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.8101, allocations: 1.031 kB / 1.277 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.8102, allocations: 14.41 kB / 1.277 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.187e-05/0.8102, allocations: 4.062 kB / 1.277 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.8103, allocations: 1.031 kB / 1.277 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.448e-05/0.8103, allocations: 95.48 kB / 1.277 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.8103, allocations: 0 / 1.277 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002282/0.8105, allocations: 18.58 kB / 1.277 GB, free: 3.363 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.0006591/0.8112, allocations: 0.7593 MB / 1.278 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004611/0.8116, allocations: 96.61 kB / 1.278 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.8116, allocations: 0 / 1.278 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002109/0.8118, allocations: 53.98 kB / 1.278 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.8121, allocations: 2.688 kB / 1.278 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006428/0.8127, allocations: 197.1 kB / 1.279 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.164e-05/0.8128, allocations: 0.677 MB / 1.279 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.752e-05/0.8129, allocations: 11.53 kB / 1.279 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.264e-05/0.8129, allocations: 13.19 kB / 1.279 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of SimCode: time 2.81e-07/0.8129, allocations: 0.9375 kB / 1.279 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02326/0.8362, allocations: 1.67 MB / 1.281 GB, free: 17.39 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.925/7.761, allocations: 10.83 kB / 1.281 GB, free: 17.39 MB / 1.014 GB " [Timeout remaining time 292] (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 --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: 13.10658660000081]