Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_10_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.007379/0.007379, allocations: 103.5 kB / 15.73 MB, free: 6.039 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.001391/0.001391, allocations: 191.7 kB / 16.67 MB, free: 5.973 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.71/2.71, allocations: 437 MB / 0.7105 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 63.89 kB / 1.018 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3113, allocations: 151.6 MB / 1.166 GB, free: 7.379 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002777/0.3141, allocations: 1.433 MB / 1.168 GB, free: 5.93 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00134/0.3155, allocations: 0.7913 MB / 1.168 GB, free: 5.129 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.198e-05/0.3156, allocations: 0 / 1.168 GB, free: 5.129 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.602e-05/0.3156, allocations: 7.938 kB / 1.168 GB, free: 5.121 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.671e-05/0.3157, allocations: 7.922 kB / 1.168 GB, free: 5.113 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005172/0.3162, allocations: 127.5 kB / 1.168 GB, free: 4.988 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.737e-05/0.3163, allocations: 31.92 kB / 1.168 GB, free: 4.957 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.084e-05/0.3164, allocations: 11.97 kB / 1.169 GB, free: 4.945 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.624e-05/0.3165, allocations: 11.94 kB / 1.169 GB, free: 4.934 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.831e-05/0.3165, allocations: 23.91 kB / 1.169 GB, free: 4.91 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.3165, allocations: 4 kB / 1.169 GB, free: 4.906 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004785/0.317, allocations: 323.3 kB / 1.169 GB, free: 4.59 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.667e-05/0.3171, allocations: 8 kB / 1.169 GB, free: 4.582 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3e-05/0.3171, allocations: 11.92 kB / 1.169 GB, free: 4.57 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003244/0.3174, allocations: 194.5 kB / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3174, allocations: 8 kB / 1.169 GB, free: 4.375 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3174, allocations: 0 / 1.169 GB, free: 4.375 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.3175, allocations: 0 / 1.169 GB, free: 4.375 MB / 0.92 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.0005256/0.318, allocations: 376 kB / 1.169 GB, free: 3.961 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.318, allocations: 8.031 kB / 1.169 GB, free: 3.953 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.96e-05/0.3181, allocations: 38.69 kB / 1.169 GB, free: 3.906 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004428/0.3185, allocations: 64.86 kB / 1.17 GB, free: 3.844 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.3187, allocations: 176.5 kB / 1.17 GB, free: 3.633 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.3187, allocations: 384 / 1.17 GB, free: 3.633 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.3187, allocations: 4.375 kB / 1.17 GB, free: 3.629 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002995/0.319, allocations: 85.75 kB / 1.17 GB, free: 3.539 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.319, allocations: 0 / 1.17 GB, free: 3.539 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.3191, allocations: 0 / 1.17 GB, free: 3.539 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.3191, allocations: 3.938 kB / 1.17 GB, free: 3.535 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003907/0.3195, allocations: 87.91 kB / 1.17 GB, free: 3.449 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005796/0.32, allocations: 300.8 kB / 1.17 GB, free: 3.105 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003592/0.3204, allocations: 94.5 kB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001964/0.3206, allocations: 48.88 kB / 1.17 GB, free: 2.953 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.3207, allocations: 0 / 1.17 GB, free: 2.953 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.3207, allocations: 46.44 kB / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.3207, allocations: 0 / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0007001/0.3214, allocations: 165.6 kB / 1.17 GB, free: 2.73 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.3214, allocations: 51.41 kB / 1.171 GB, free: 2.668 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.005e-05/0.3215, allocations: 101.8 kB / 1.171 GB, free: 2.559 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.3216, allocations: 25.7 kB / 1.171 GB, free: 2.527 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.476e-05/0.3216, allocations: 88.14 kB / 1.171 GB, free: 2.438 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.3216, allocations: 7.891 kB / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.51e-05/0.3217, allocations: 17.7 kB / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.3218, allocations: 322.8 kB / 1.171 GB, free: 2.082 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.322, allocations: 39.95 kB / 1.171 GB, free: 2.043 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/0.3222, allocations: 48.2 kB / 1.171 GB, free: 1.996 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00036/0.3226, allocations: 92.77 kB / 1.171 GB, free: 1.902 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.3226, allocations: 4 kB / 1.171 GB, free: 1.898 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004217/0.323, allocations: 125.6 kB / 1.171 GB, free: 1.77 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.323, allocations: 4 kB / 1.171 GB, free: 1.766 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.323, allocations: 0 / 1.171 GB, free: 1.766 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.3231, allocations: 0 / 1.171 GB, free: 1.766 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.3232, allocations: 28 kB / 1.171 GB, free: 1.738 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.3232, allocations: 0 / 1.171 GB, free: 1.738 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.3233, allocations: 23.88 kB / 1.171 GB, free: 1.715 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.3234, allocations: 0 / 1.171 GB, free: 1.715 MB / 0.92 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.886e-05/0.3235, allocations: 109.8 kB / 1.172 GB, free: 1.598 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.91e-05/0.3235, allocations: 4 kB / 1.172 GB, free: 1.594 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.502e-05/0.3236, allocations: 7.125 kB / 1.172 GB, free: 1.586 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.3236, allocations: 7.938 kB / 1.172 GB, free: 1.578 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.3236, allocations: 0 / 1.172 GB, free: 1.578 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3236, allocations: 0 / 1.172 GB, free: 1.578 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.3238, allocations: 177.5 kB / 1.172 GB, free: 1.355 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3238, allocations: 0 / 1.172 GB, free: 1.355 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.3239, allocations: 23.97 kB / 1.172 GB, free: 1.332 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.3239, allocations: 0 / 1.172 GB, free: 1.332 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.3239, allocations: 0 / 1.172 GB, free: 1.332 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.3239, allocations: 4 kB / 1.172 GB, free: 1.328 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.324, allocations: 3.938 kB / 1.172 GB, free: 1.324 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004765/0.3244, allocations: 219.4 kB / 1.172 GB, free: 1.094 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.972e-05/0.3245, allocations: 85.02 kB / 1.172 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.3245, allocations: 0 / 1.172 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.3246, allocations: 15.97 kB / 1.172 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.021e-05/0.3247, allocations: 12.02 kB / 1.172 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.914e-06/0.3247, allocations: 3.984 kB / 1.172 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.056e-05/0.3248, allocations: 83.28 kB / 1.172 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3248, allocations: 3.938 kB / 1.172 GB, free: 0.875 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002417/0.325, allocations: 16 kB / 1.172 GB, free: 0.8594 MB / 0.92 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.000808/0.3258, allocations: 0.7624 MB / 1.173 GB, free: 72 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000448/0.3263, allocations: 95.91 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3263, allocations: 0 / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002095/0.3265, allocations: 47.89 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.3268, allocations: 8.172 kB / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006887/0.3275, allocations: 191.1 kB / 1.173 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.3278, allocations: 0.6807 MB / 1.174 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.358e-05/0.3278, allocations: 11.95 kB / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.334e-05/0.3279, allocations: 11.44 kB / 1.174 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of SimCode: time 3.1e-07/0.3279, allocations: 0 / 1.174 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1721/0.5, allocations: 1.691 MB / 1.176 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.81/8.31, allocations: 11.73 kB / 1.176 GB, free: 13.36 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_InverseXRegularized.fmu > Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches