Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dynRC.i.1.|dynRC.i.2.|dynRL.i.1.|dynRL.i.2.|dynRC.v.1.|dynRC.v.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dynRC.i.1.|dynRC.i.2.|dynRL.i.1.|dynRL.i.2.|dynRC.v.1.|dynRC.v.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.264/2.264, allocations: 387.4 MB / 394.9 MB, free: 13.39 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 176.9 kB / 487.4 MB, free: 5.035 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.587/1.587, allocations: 221.5 MB / 0.7824 GB, free: 0.9883 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 87.06 kB / 0.9219 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.723e-05/1.778e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2869, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9615/1.249, allocations: 179.1 MB / 1.381 GB, free: 18.16 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/1.249, allocations: 98.52 kB / 1.381 GB, free: 18.14 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04557/1.294, allocations: 21.05 MB / 1.402 GB, free: 25.33 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.264e-06/1.295, allocations: 4 kB / 1.402 GB, free: 25.33 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.59e-05/1.295, allocations: 3.969 kB / 1.402 GB, free: 25.33 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001322/1.296, allocations: 0.5474 MB / 1.402 GB, free: 24.85 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/1.296, allocations: 7.75 kB / 1.402 GB, free: 24.85 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/1.297, allocations: 109.1 kB / 1.402 GB, free: 24.8 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006032/1.298, allocations: 284.7 kB / 1.402 GB, free: 24.55 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/1.298, allocations: 7.312 kB / 1.402 GB, free: 24.55 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.673e-05/1.298, allocations: 15.09 kB / 1.403 GB, free: 24.55 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004689/1.298, allocations: 259.4 kB / 1.403 GB, free: 24.52 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005563/1.299, allocations: 391.9 kB / 1.403 GB, free: 24.34 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/1.299, allocations: 0 / 1.403 GB, free: 24.34 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.601e-05/1.299, allocations: 0 / 1.403 GB, free: 24.34 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.149e-05/1.299, allocations: 27.28 kB / 1.403 GB, free: 24.34 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002316/1.301, allocations: 2.149 MB / 1.405 GB, free: 22.41 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003968/1.302, allocations: 255.3 kB / 1.405 GB, free: 22.24 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001729/1.302, allocations: 147.8 kB / 1.406 GB, free: 22.15 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/1.302, allocations: 4.188 kB / 1.406 GB, free: 22.14 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/1.302, allocations: 38.67 kB / 1.406 GB, free: 22.1 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=22): time 1.643e-06/1.302, allocations: 0 / 1.406 GB, free: 22.1 MB / 0.8386 GB Notification: Performance of matching and sorting (n=23): time 0.001162/1.303, allocations: 0.7762 MB / 1.406 GB, free: 21.43 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.443e-05/1.303, allocations: 59.33 kB / 1.406 GB, free: 21.36 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/1.303, allocations: 190.4 kB / 1.407 GB, free: 21.2 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/1.303, allocations: 29.7 kB / 1.407 GB, free: 21.16 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/1.304, allocations: 191.1 kB / 1.407 GB, free: 21 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.918e-05/1.304, allocations: 83.25 kB / 1.407 GB, free: 20.93 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.925e-05/1.304, allocations: 3.938 kB / 1.407 GB, free: 20.92 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001458/1.304, allocations: 340.1 kB / 1.407 GB, free: 20.59 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/1.304, allocations: 138.6 kB / 1.407 GB, free: 20.5 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/1.304, allocations: 220.6 kB / 1.408 GB, free: 20.31 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003073/1.304, allocations: 185.4 kB / 1.408 GB, free: 20.19 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/1.304, allocations: 0 / 1.408 GB, free: 20.19 MB / 0.8386 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009085/1.305, allocations: 0.5313 MB / 1.408 GB, free: 19.77 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/1.305, allocations: 4 kB / 1.408 GB, free: 19.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.402e-05/1.305, allocations: 4 kB / 1.408 GB, free: 19.77 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005635/1.306, allocations: 175.9 kB / 1.409 GB, free: 19.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002693/1.306, allocations: 55.91 kB / 1.409 GB, free: 19.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00224/1.309, allocations: 2.202 MB / 1.411 GB, free: 17.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003021/1.309, allocations: 11.98 kB / 1.411 GB, free: 17.58 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.873e-05/1.309, allocations: 15.75 kB / 1.411 GB, free: 17.57 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001212/1.309, allocations: 116.8 kB / 1.411 GB, free: 17.45 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.201e-05/1.309, allocations: 19.72 kB / 1.411 GB, free: 17.43 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004778/1.31, allocations: 334 kB / 1.411 GB, free: 17.19 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/1.31, allocations: 64 / 1.411 GB, free: 17.19 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/1.31, allocations: 4 kB / 1.411 GB, free: 17.18 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/1.31, allocations: 7.938 kB / 1.411 GB, free: 17.18 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008812/1.311, allocations: 0.7431 MB / 1.412 GB, free: 16.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/1.311, allocations: 0 / 1.412 GB, free: 16.54 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003811/1.311, allocations: 75.88 kB / 1.412 GB, free: 16.46 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/1.311, allocations: 0 / 1.412 GB, free: 16.46 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/1.311, allocations: 7.125 kB / 1.412 GB, free: 16.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/1.311, allocations: 8.016 kB / 1.412 GB, free: 16.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.311, allocations: 0 / 1.412 GB, free: 16.45 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005897/1.312, allocations: 0.5983 MB / 1.413 GB, free: 15.97 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/1.312, allocations: 128.5 kB / 1.413 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.364e-05/1.312, allocations: 7.984 kB / 1.413 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/1.312, allocations: 8 kB / 1.413 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.142e-05/1.312, allocations: 19.66 kB / 1.413 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/1.312, allocations: 8 kB / 1.413 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001376/1.312, allocations: 153.7 kB / 1.413 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2e-07/1.312, allocations: 0 / 1.413 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004497/1.313, allocations: 91.19 kB / 1.413 GB, free: 15.58 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001913/1.313, allocations: 119.2 kB / 1.413 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007694/1.314, allocations: 0.4898 MB / 1.414 GB, free: 15.07 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.314, allocations: 0 / 1.414 GB, free: 15.07 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001522/1.314, allocations: 140.6 kB / 1.414 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/1.314, allocations: 49.31 kB / 1.414 GB, free: 14.94 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/1.315, allocations: 0.6991 MB / 1.414 GB, free: 14.27 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003874/1.316, allocations: 0.7976 MB / 1.415 GB, free: 13.45 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002211/1.316, allocations: 74 kB / 1.415 GB, free: 13.38 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.544e-05/1.316, allocations: 26.67 kB / 1.415 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of SimCode: time 4.21e-07/1.316, allocations: 0 / 1.415 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of Templates: time 0.007635/1.324, allocations: 3.446 MB / 1.419 GB, free: 9.949 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches