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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 106.8 kB / 15.99 MB, free: 5.891 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.001585/0.001585, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.398/1.398, allocations: 222.9 MB / 240.6 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.467/2.467, allocations: 390.3 MB / 0.665 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001641/0.001641, allocations: 63.91 kB / 0.8127 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7531/0.7548, allocations: 140.4 MB / 0.9498 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.007336/0.7622, allocations: 3.309 MB / 0.953 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005035/0.7673, allocations: 2 MB / 0.955 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000297/0.7676, allocations: 7.25 kB / 0.955 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001336/0.769, allocations: 271.4 kB / 0.9552 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001096/0.7701, allocations: 223.8 kB / 0.9554 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.7714, allocations: 259.9 kB / 0.9557 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008138/0.7722, allocations: 411.3 kB / 0.9561 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006788/0.7729, allocations: 223.4 kB / 0.9563 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004134/0.7733, allocations: 171.4 kB / 0.9565 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005981/0.7739, allocations: 205.5 kB / 0.9567 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.265e-05/0.774, allocations: 23.94 kB / 0.9567 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007737/0.7748, allocations: 262.3 kB / 0.9569 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001969/0.775, allocations: 121.7 kB / 0.957 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002705/0.7753, allocations: 148.4 kB / 0.9572 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006753/0.776, allocations: 383.9 kB / 0.9576 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.776, allocations: 0 / 0.9576 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7761, allocations: 0 / 0.9576 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.511e-05/0.7761, allocations: 4 kB / 0.9576 GB, free: 3.426 MB / 0.7169 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.001672/0.7778, allocations: 0.5895 MB / 0.9581 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.7778, allocations: 9.625 kB / 0.9581 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001813/0.7797, allocations: 124.9 kB / 0.9583 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004824/0.7802, allocations: 270.1 kB / 0.9585 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.99e-05/0.7802, allocations: 18.56 kB / 0.9585 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001934/0.7804, allocations: 49.12 kB / 0.9586 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.7816, allocations: 456.8 kB / 0.959 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.543e-05/0.7816, allocations: 1.062 kB / 0.959 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.241e-05/0.7817, allocations: 11.39 kB / 0.959 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002608/0.782, allocations: 39.06 kB / 0.9591 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001148/0.7832, allocations: 365 kB / 0.9594 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003758/0.7869, allocations: 2.231 MB / 0.9616 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008276/0.7878, allocations: 261.1 kB / 0.9618 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003331/0.7881, allocations: 170.5 kB / 0.962 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.286e-05/0.7882, allocations: 2.531 kB / 0.962 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.69e-05/0.7882, allocations: 35.94 kB / 0.962 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=22): time 2.916e-06/0.7883, allocations: 1.375 kB / 0.962 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23): time 0.003288/0.7916, allocations: 1.049 MB / 0.9631 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.668e-05/0.7917, allocations: 58.19 kB / 0.9631 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005769/0.7922, allocations: 257.9 kB / 0.9634 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.016e-05/0.7923, allocations: 30.92 kB / 0.9634 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001951/0.7925, allocations: 186.3 kB / 0.9636 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.7927, allocations: 85.61 kB / 0.9637 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002355/0.7929, allocations: 76.59 kB / 0.9637 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000206/0.7932, allocations: 336.4 kB / 0.9641 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005433/0.7937, allocations: 162.9 kB / 0.9642 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000652/0.7944, allocations: 242.1 kB / 0.9644 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.7955, allocations: 405.1 kB / 0.9648 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.7955, allocations: 0.875 kB / 0.9648 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002239/0.7978, allocations: 0.6062 MB / 0.9654 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/0.7978, allocations: 7.25 kB / 0.9654 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.7979, allocations: 2.625 kB / 0.9654 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001331/0.7992, allocations: 191.5 kB / 0.9656 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005728/0.7998, allocations: 66.39 kB / 0.9657 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005058/0.8049, allocations: 2.494 MB / 0.9681 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007608/0.8057, allocations: 23.59 kB / 0.9681 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.041e-05/0.8058, allocations: 15.22 kB / 0.9681 GB, free: 11 MB / 0.7325 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003495/0.8061, allocations: 167.8 kB / 0.9683 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.8063, allocations: 27.03 kB / 0.9683 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/0.8073, allocations: 351.9 kB / 0.9687 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.8073, allocations: 2.844 kB / 0.9687 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.8073, allocations: 0 / 0.9687 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-06/0.8073, allocations: 5.328 kB / 0.9687 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001965/0.8093, allocations: 0.8191 MB / 0.9695 GB, free: 9.992 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.8093, allocations: 3.938 kB / 0.9695 GB, free: 9.988 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007554/0.8101, allocations: 74.31 kB / 0.9696 GB, free: 9.969 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.017e-05/0.8101, allocations: 6.5 kB / 0.9696 GB, free: 9.965 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.411e-05/0.8102, allocations: 6.594 kB / 0.9696 GB, free: 9.961 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/0.8102, allocations: 1.438 kB / 0.9696 GB, free: 9.961 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.366e-06/0.8102, allocations: 5.219 kB / 0.9696 GB, free: 9.957 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001481/0.8117, allocations: 0.6096 MB / 0.9702 GB, free: 9.566 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000253/0.812, allocations: 124.2 kB / 0.9703 GB, free: 9.445 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.728e-05/0.8121, allocations: 14.61 kB / 0.9703 GB, free: 9.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000485/0.8126, allocations: 14.89 kB / 0.9703 GB, free: 9.426 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.042e-05/0.8127, allocations: 22.48 kB / 0.9703 GB, free: 9.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.003e-05/0.8128, allocations: 5.531 kB / 0.9703 GB, free: 9.41 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003915/0.8132, allocations: 188.3 kB / 0.9705 GB, free: 9.281 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.337e-06/0.8132, allocations: 0 / 0.9705 GB, free: 9.281 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000813/0.814, allocations: 90.47 kB / 0.9706 GB, free: 9.27 MB / 0.7325 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 () * Number of clocked 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 (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.0002427/0.8143, allocations: 112.4 kB / 0.9707 GB, free: 9.172 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001785/0.8161, allocations: 0.5663 MB / 0.9713 GB, free: 8.84 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/0.8161, allocations: 4.125 kB / 0.9713 GB, free: 8.836 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003878/0.8165, allocations: 155.1 kB / 0.9714 GB, free: 8.766 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008671/0.8174, allocations: 59.2 kB / 0.9715 GB, free: 8.73 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003072/0.8205, allocations: 0.9912 MB / 0.9724 GB, free: 7.984 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006438/0.8211, allocations: 0.7916 MB / 0.9732 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000227/0.8214, allocations: 27.92 kB / 0.9732 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of SimCode: time 1.052e-06/0.8214, allocations: 0 / 0.9732 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of Templates: time 0.0142/0.8356, allocations: 4.541 MB / 0.9777 GB, free: 4.613 MB / 0.7325 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches