Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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: translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 103.9 kB / 16.35 MB, free: 5.875 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.001175/0.001175, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.187/1.187, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.208/2.208, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 63.94 kB / 0.8773 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2521, allocations: 153 MB / 1.027 GB, free: 2.035 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002171/0.2543, allocations: 1.461 MB / 1.028 GB, free: 0.5703 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001004/0.2553, allocations: 0.7873 MB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.187e-05/0.2553, allocations: 4 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.145e-05/0.2554, allocations: 7.922 kB / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.748e-05/0.2554, allocations: 4 kB / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003534/0.2558, allocations: 123.5 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.54e-05/0.2558, allocations: 35.92 kB / 1.029 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.051e-05/0.2559, allocations: 4 kB / 1.029 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.556e-05/0.256, allocations: 15.92 kB / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.887e-05/0.256, allocations: 23.97 kB / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.256, allocations: 7.984 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003806/0.2564, allocations: 303.4 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.486e-05/0.2564, allocations: 11.92 kB / 1.029 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.146e-05/0.2565, allocations: 19.92 kB / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002457/0.2567, allocations: 187.7 kB / 1.03 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.2567, allocations: 0 / 1.03 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.936e-06/0.2568, allocations: 4 kB / 1.03 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.2568, allocations: 3.938 kB / 1.03 GB, free: 15.03 MB / 0.8106 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.000426/0.2572, allocations: 376.7 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.814e-05/0.2572, allocations: 12.03 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004102/0.2576, allocations: 72.84 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.393e-05/0.2577, allocations: 160.4 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.2578, allocations: 384 / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.729e-06/0.2578, allocations: 384 / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000267/0.2581, allocations: 93.94 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.2581, allocations: 0 / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.2581, allocations: 3.938 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.2581, allocations: 0 / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003588/0.2585, allocations: 91.89 kB / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000463/0.2589, allocations: 308.6 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003227/0.2593, allocations: 94.5 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001815/0.2594, allocations: 56.86 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.2595, allocations: 0 / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.2595, allocations: 34.56 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 7.31e-07/0.2595, allocations: 0 / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0006214/0.2601, allocations: 169.5 kB / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.2602, allocations: 55.53 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.263e-05/0.2602, allocations: 101.9 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.2603, allocations: 25.7 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.444e-05/0.2603, allocations: 88.12 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.553e-05/0.2603, allocations: 3.906 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.63e-05/0.2604, allocations: 13.72 kB / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.11e-05/0.2605, allocations: 318.8 kB / 1.032 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/0.2607, allocations: 47.94 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001686/0.2608, allocations: 39.95 kB / 1.032 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003344/0.2612, allocations: 104.7 kB / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2612, allocations: 0 / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003743/0.2616, allocations: 117.5 kB / 1.032 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.2616, allocations: 10.66 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.2616, allocations: 3.984 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.2616, allocations: 3.984 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.2618, allocations: 19.98 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.2618, allocations: 0 / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.2619, allocations: 24 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.2619, allocations: 0 / 1.032 GB, free: 12.41 MB / 0.8106 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 6.267e-05/0.262, allocations: 117.7 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.262, allocations: 3.906 kB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.839e-05/0.262, allocations: 11.11 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.262, allocations: 0 / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.262, allocations: 4 kB / 1.032 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.262, allocations: 4 kB / 1.032 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.2622, allocations: 165.6 kB / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.2622, allocations: 3.984 kB / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.2623, allocations: 19.98 kB / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2623, allocations: 0 / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.2624, allocations: 7.984 kB / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2624, allocations: 0 / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.2624, allocations: 3.938 kB / 1.032 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004329/0.2628, allocations: 227.3 kB / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.79e-05/0.2629, allocations: 77.11 kB / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.2629, allocations: 256 / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.263, allocations: 15.98 kB / 1.033 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.155e-05/0.2631, allocations: 7.984 kB / 1.033 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.2631, allocations: 0 / 1.033 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.154e-05/0.2631, allocations: 87.31 kB / 1.033 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2631, allocations: 4 kB / 1.033 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002166/0.2633, allocations: 15.98 kB / 1.033 GB, free: 11.55 MB / 0.8106 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.0001325/0.2635, allocations: 103.2 kB / 1.033 GB, free: 11.44 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003995/0.2639, allocations: 95.83 kB / 1.033 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.2639, allocations: 3.938 kB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001857/0.2641, allocations: 52.02 kB / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002274/0.2643, allocations: 7.938 kB / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004639/0.2648, allocations: 157.5 kB / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002084/0.265, allocations: 0.6768 MB / 1.034 GB, free: 10.4 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.791e-05/0.2651, allocations: 11.98 kB / 1.034 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.066e-05/0.2651, allocations: 15.44 kB / 1.034 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/0.2651, allocations: 0 / 1.034 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of Templates: time 0.002574/0.2677, allocations: 0.8136 MB / 1.035 GB, free: 9.566 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches