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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006881/0.006881, allocations: 101.8 kB / 15.73 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001683/0.001683, allocations: 197 kB / 16.68 MB, free: 5.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.704/2.704, allocations: 469.8 MB / 0.7425 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 68.03 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7732/0.7751, allocations: 159.1 MB / 1.22 GB, free: 2.129 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002384/0.7775, allocations: 1.435 MB / 1.222 GB, free: 0.6875 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00116/0.7787, allocations: 0.7905 MB / 1.222 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.562e-05/0.7787, allocations: 0 / 1.222 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.6e-05/0.7788, allocations: 3.938 kB / 1.222 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.185e-05/0.7788, allocations: 7.984 kB / 1.222 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003961/0.7792, allocations: 127.5 kB / 1.222 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 7.025e-05/0.7793, allocations: 39.84 kB / 1.223 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 7.057e-05/0.7794, allocations: 8 kB / 1.223 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.752e-05/0.7794, allocations: 15.92 kB / 1.223 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.681e-05/0.7795, allocations: 19.92 kB / 1.223 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.7795, allocations: 4 kB / 1.223 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004508/0.78, allocations: 311.3 kB / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.417e-05/0.78, allocations: 7.984 kB / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.668e-05/0.78, allocations: 11.94 kB / 1.223 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000296/0.7803, allocations: 207.2 kB / 1.223 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.7803, allocations: 0 / 1.223 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7803, allocations: 0 / 1.223 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.7803, allocations: 4 kB / 1.223 GB, free: 15.14 MB / 0.9512 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.0005047/0.7809, allocations: 371.1 kB / 1.223 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.7809, allocations: 8.031 kB / 1.223 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.862e-05/0.7809, allocations: 38.69 kB / 1.223 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004307/0.7814, allocations: 72.8 kB / 1.224 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.7815, allocations: 164.3 kB / 1.224 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.7815, allocations: 8.375 kB / 1.224 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.7816, allocations: 384 / 1.224 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002875/0.7819, allocations: 89.69 kB / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.7819, allocations: 0 / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.7819, allocations: 3.984 kB / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.7819, allocations: 4 kB / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004106/0.7823, allocations: 91.89 kB / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005026/0.7828, allocations: 300.8 kB / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003748/0.7832, allocations: 94.5 kB / 1.224 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002109/0.7834, allocations: 56.86 kB / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.7835, allocations: 0 / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.7835, allocations: 30.56 kB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 9.71e-07/0.7835, allocations: 4 kB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0007199/0.7842, allocations: 165.6 kB / 1.225 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.7843, allocations: 55.41 kB / 1.225 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.887e-05/0.7843, allocations: 97.86 kB / 1.225 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.7844, allocations: 25.7 kB / 1.225 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.138e-05/0.7844, allocations: 92.12 kB / 1.225 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.915e-05/0.7845, allocations: 7.938 kB / 1.225 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.04e-05/0.7845, allocations: 13.75 kB / 1.225 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.7846, allocations: 322.8 kB / 1.225 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002063/0.7849, allocations: 39.95 kB / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001973/0.7851, allocations: 51.94 kB / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003769/0.7854, allocations: 88.83 kB / 1.225 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.7854, allocations: 0 / 1.225 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004391/0.7859, allocations: 125.5 kB / 1.225 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.7859, allocations: 4 kB / 1.225 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.7859, allocations: 4.188 kB / 1.225 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.7859, allocations: 0 / 1.225 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.7861, allocations: 32 kB / 1.225 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.7861, allocations: 0 / 1.225 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.7862, allocations: 15.97 kB / 1.225 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.659e-06/0.7862, allocations: 4 kB / 1.225 GB, free: 12.48 MB / 0.9512 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 7.661e-05/0.7863, allocations: 109.8 kB / 1.226 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.692e-05/0.7864, allocations: 7.953 kB / 1.226 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.248e-05/0.7864, allocations: 19.05 kB / 1.226 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.7864, allocations: 0 / 1.226 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.7864, allocations: 0 / 1.226 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.7864, allocations: 0 / 1.226 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/0.7866, allocations: 169.6 kB / 1.226 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.7866, allocations: 0 / 1.226 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001361/0.7867, allocations: 23.97 kB / 1.226 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.7868, allocations: 0 / 1.226 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.7868, allocations: 4 kB / 1.226 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.7868, allocations: 3.984 kB / 1.226 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.7868, allocations: 3.938 kB / 1.226 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004847/0.7873, allocations: 219.4 kB / 1.226 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.342e-05/0.7873, allocations: 81.09 kB / 1.226 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.7874, allocations: 4 kB / 1.226 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.7875, allocations: 16.02 kB / 1.226 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.7875, allocations: 7.984 kB / 1.226 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.7876, allocations: 0 / 1.226 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.643e-05/0.7876, allocations: 83.28 kB / 1.226 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7876, allocations: 0 / 1.226 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002301/0.7878, allocations: 15.94 kB / 1.226 GB, free: 11.63 MB / 0.9512 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.0008358/0.7887, allocations: 0.7674 MB / 1.227 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004593/0.7892, allocations: 95.91 kB / 1.227 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.7892, allocations: 0 / 1.227 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000215/0.7894, allocations: 47.94 kB / 1.227 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.7897, allocations: 12.12 kB / 1.227 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006545/0.7903, allocations: 194.8 kB / 1.227 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.7906, allocations: 0.6768 MB / 1.228 GB, free: 9.746 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 6.721e-05/0.7907, allocations: 8 kB / 1.228 GB, free: 9.738 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.192e-05/0.7907, allocations: 11.42 kB / 1.228 GB, free: 9.727 MB / 0.9512 GB Notification: Performance of SimCode: time 2.5e-07/0.7908, allocations: 7.938 kB / 1.228 GB, free: 9.719 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8341/1.625, allocations: 1.683 MB / 1.23 GB, free: 8.129 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.38/16.01, allocations: 17.17 kB / 1.23 GB, free: 8.117 MB / 0.9512 GB (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) 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) Reference file matches