Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001757/0.001757, allocations: 103.3 kB / 16.45 MB, free: 6.449 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.002174/0.002174, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.548/1.548, allocations: 230.6 MB / 252.8 MB, free: 9.133 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.292/3.292, allocations: 0.49 GB / 0.7916 GB, free: 33.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",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.002077/0.002077, allocations: 69.5 kB / 1.149 GB, free: 26.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3282, allocations: 176.1 MB / 1.321 GB, free: 3.324 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002898/0.3311, allocations: 1.466 MB / 1.322 GB, free: 1.848 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001409/0.3325, allocations: 0.8298 MB / 1.323 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.139e-05/0.3325, allocations: 0 / 1.323 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.684e-05/0.3326, allocations: 0 / 1.323 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.878e-05/0.3326, allocations: 3.938 kB / 1.323 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004839/0.3331, allocations: 135.5 kB / 1.323 GB, free: 0.875 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.429e-05/0.3331, allocations: 23.98 kB / 1.323 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.214e-05/0.3332, allocations: 8 kB / 1.323 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.829e-05/0.3333, allocations: 19.86 kB / 1.323 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.067e-05/0.3333, allocations: 27.89 kB / 1.323 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.549e-05/0.3334, allocations: 4 kB / 1.323 GB, free: 0.793 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004854/0.3339, allocations: 315.4 kB / 1.324 GB, free: 496 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.832e-05/0.3339, allocations: 7.984 kB / 1.324 GB, free: 488 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.114e-05/0.3339, allocations: 19.91 kB / 1.324 GB, free: 468 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003292/0.3342, allocations: 191.8 kB / 1.324 GB, free: 276 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3342, allocations: 0 / 1.324 GB, free: 276 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3342, allocations: 0 / 1.324 GB, free: 276 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.411e-06/0.3342, allocations: 0 / 1.324 GB, free: 276 kB / 1.014 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.0005754/0.3348, allocations: 375 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.3349, allocations: 15.98 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.429e-05/0.3349, allocations: 38.75 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004735/0.3354, allocations: 68.78 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.3355, allocations: 172.3 kB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.3355, allocations: 384 / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.3355, allocations: 4.359 kB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003156/0.3359, allocations: 89.69 kB / 1.325 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.3359, allocations: 11.98 kB / 1.325 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.3359, allocations: 0 / 1.325 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.3359, allocations: 0 / 1.325 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004459/0.3363, allocations: 87.91 kB / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005393/0.3369, allocations: 292.9 kB / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004231/0.3373, allocations: 94.48 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002278/0.3375, allocations: 52.81 kB / 1.325 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.3375, allocations: 4 kB / 1.325 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.3376, allocations: 34.56 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.3376, allocations: 0 / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0007853/0.3384, allocations: 165.5 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.3384, allocations: 51.41 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.956e-05/0.3385, allocations: 113.8 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.3385, allocations: 25.7 kB / 1.325 GB, free: 14.4 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.1e-05/0.3386, allocations: 88.22 kB / 1.325 GB, free: 14.31 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.3386, allocations: 7.953 kB / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.487e-05/0.3386, allocations: 13.72 kB / 1.326 GB, free: 14.29 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3388, allocations: 322.8 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002295/0.339, allocations: 47.89 kB / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002108/0.3392, allocations: 43.95 kB / 1.326 GB, free: 13.87 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004168/0.3396, allocations: 88.83 kB / 1.326 GB, free: 13.78 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.3397, allocations: 0 / 1.326 GB, free: 13.78 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004966/0.3401, allocations: 125.6 kB / 1.326 GB, free: 13.65 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.3402, allocations: 4 kB / 1.326 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3402, allocations: 0 / 1.326 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.3402, allocations: 8.031 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/0.3404, allocations: 19.97 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.3404, allocations: 0 / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.3405, allocations: 23.86 kB / 1.326 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-06/0.3405, allocations: 0 / 1.326 GB, free: 13.6 MB / 1.029 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 8.966e-05/0.3406, allocations: 117.8 kB / 1.326 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/0.3406, allocations: 4 kB / 1.326 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.688e-05/0.3407, allocations: 7.125 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.3407, allocations: 0 / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3407, allocations: 0 / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3407, allocations: 0 / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/0.3409, allocations: 173.6 kB / 1.326 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.3409, allocations: 7.938 kB / 1.326 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/0.341, allocations: 23.97 kB / 1.326 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.341, allocations: 0 / 1.326 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.341, allocations: 0 / 1.326 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.341, allocations: 0 / 1.326 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.341, allocations: 0 / 1.326 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005458/0.3416, allocations: 223.3 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.61e-05/0.3416, allocations: 81.11 kB / 1.327 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.3417, allocations: 3.938 kB / 1.327 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.3418, allocations: 23.94 kB / 1.327 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.3418, allocations: 4 kB / 1.327 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.3419, allocations: 0 / 1.327 GB, free: 12.85 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.072e-05/0.3419, allocations: 91.52 kB / 1.327 GB, free: 12.76 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3419, allocations: 0 / 1.327 GB, free: 12.76 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000255/0.3422, allocations: 12 kB / 1.327 GB, free: 12.75 MB / 1.029 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.0009214/0.3431, allocations: 0.7592 MB / 1.328 GB, free: 11.96 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004907/0.3436, allocations: 99.86 kB / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3436, allocations: 0 / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002264/0.3438, allocations: 48.02 kB / 1.328 GB, free: 11.81 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.3441, allocations: 4 kB / 1.328 GB, free: 11.81 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008129/0.3449, allocations: 206.9 kB / 1.328 GB, free: 11.57 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.3452, allocations: 0.6768 MB / 1.329 GB, free: 10.86 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.953e-05/0.3453, allocations: 11.98 kB / 1.329 GB, free: 10.85 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.193e-05/0.3454, allocations: 7.438 kB / 1.329 GB, free: 10.84 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.3454, allocations: 0 / 1.329 GB, free: 10.84 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02658/0.3719, allocations: 1.698 MB / 1.33 GB, free: 9.242 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.072/8.444, allocations: 18.84 kB / 1.33 GB, free: 9.227 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Examples_InverseXRegularized.fmu > Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.248947666957974]