Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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: 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_10_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_10_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.001305/0.001305, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.0108/0.0108, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.559/1.559, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.718/2.718, allocations: 437.8 MB / 0.7121 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003664/0.0003665, allocations: 8 kB / 0.8728 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.77/0.7704, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003924/0.7744, allocations: 2.945 MB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003378/0.7778, allocations: 2 MB / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001636/0.778, allocations: 7.938 kB / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002244/0.7782, allocations: 43.64 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006083/0.7788, allocations: 215.2 kB / 1.028 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007714/0.7796, allocations: 259.5 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006049/0.7802, allocations: 0.5727 MB / 1.029 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007979/0.781, allocations: 445.1 kB / 1.029 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002118/0.7813, allocations: 147.4 kB / 1.029 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000378/0.7817, allocations: 191.3 kB / 1.03 GB, free: 9 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.423e-05/0.7817, allocations: 12 kB / 1.03 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005059/0.7822, allocations: 307.4 kB / 1.03 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.7823, allocations: 107.7 kB / 1.03 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001523/0.7825, allocations: 157 kB / 1.03 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005583/0.7831, allocations: 492.4 kB / 1.031 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.7831, allocations: 0 / 1.031 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7831, allocations: 4 kB / 1.031 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.7831, allocations: 0 / 1.031 GB, free: 7.938 MB / 0.7794 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.001034/0.7842, allocations: 0.538 MB / 1.031 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.7842, allocations: 12.03 kB / 1.031 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001039/0.7852, allocations: 120.4 kB / 1.031 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003567/0.7856, allocations: 272.5 kB / 1.032 GB, free: 6.914 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.7856, allocations: 20.92 kB / 1.032 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/0.7858, allocations: 36.22 kB / 1.032 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007362/0.7865, allocations: 457 kB / 1.032 GB, free: 6.379 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/0.7866, allocations: 7.984 kB / 1.032 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.444e-05/0.7866, allocations: 8 kB / 1.032 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001591/0.7868, allocations: 40.53 kB / 1.032 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000639/0.7874, allocations: 365.9 kB / 1.032 GB, free: 5.965 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00265/0.7901, allocations: 2.226 MB / 1.035 GB, free: 3.543 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004271/0.7905, allocations: 270.4 kB / 1.035 GB, free: 3.27 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002246/0.7908, allocations: 161.5 kB / 1.035 GB, free: 3.109 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.7908, allocations: 4 kB / 1.035 GB, free: 3.105 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.7908, allocations: 38.92 kB / 1.035 GB, free: 3.059 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=22): time 2.515e-06/0.7909, allocations: 0 / 1.035 GB, free: 3.059 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23): time 0.001914/0.7928, allocations: 1.05 MB / 1.036 GB, free: 1.941 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.7928, allocations: 59.41 kB / 1.036 GB, free: 1.871 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003328/0.7932, allocations: 253 kB / 1.036 GB, free: 1.617 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.415e-05/0.7932, allocations: 29.7 kB / 1.036 GB, free: 1.582 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.7933, allocations: 187.9 kB / 1.037 GB, free: 1.395 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.766e-05/0.7934, allocations: 82.81 kB / 1.037 GB, free: 1.312 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-05/0.7935, allocations: 37.7 kB / 1.037 GB, free: 1.27 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.7936, allocations: 330.8 kB / 1.037 GB, free: 0.9375 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002788/0.7939, allocations: 159.9 kB / 1.037 GB, free: 0.7812 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003405/0.7943, allocations: 249.5 kB / 1.037 GB, free: 0.5039 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006111/0.7949, allocations: 410.8 kB / 1.038 GB, free: 72 kB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.7949, allocations: 7.984 kB / 1.038 GB, free: 64 kB / 0.7794 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001216/0.7961, allocations: 0.5926 MB / 1.038 GB, free: 15.46 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.7962, allocations: 10.34 kB / 1.038 GB, free: 15.45 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.7962, allocations: 0 / 1.038 GB, free: 15.45 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006874/0.7969, allocations: 192.7 kB / 1.039 GB, free: 15.26 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003249/0.7972, allocations: 67.89 kB / 1.039 GB, free: 15.19 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002721/0.8, allocations: 2.303 MB / 1.041 GB, free: 12.76 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003851/0.8004, allocations: 23.97 kB / 1.041 GB, free: 12.73 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.14e-05/0.8004, allocations: 16 kB / 1.041 GB, free: 12.72 MB / 0.795 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.0001887/0.8006, allocations: 162.2 kB / 1.041 GB, free: 12.55 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.865e-05/0.8007, allocations: 35.72 kB / 1.041 GB, free: 12.52 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005899/0.8013, allocations: 354 kB / 1.042 GB, free: 12.17 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.8013, allocations: 4 kB / 1.042 GB, free: 12.16 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.8013, allocations: 0 / 1.042 GB, free: 12.16 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.8013, allocations: 0 / 1.042 GB, free: 12.16 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.8024, allocations: 0.8106 MB / 1.042 GB, free: 11.29 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.8024, allocations: 0 / 1.042 GB, free: 11.29 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003889/0.8028, allocations: 80 kB / 1.042 GB, free: 11.21 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.8028, allocations: 3.938 kB / 1.042 GB, free: 11.21 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.8029, allocations: 8 kB / 1.042 GB, free: 11.2 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.8029, allocations: 7.922 kB / 1.042 GB, free: 11.2 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.8029, allocations: 4 kB / 1.042 GB, free: 11.19 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007541/0.8037, allocations: 0.6179 MB / 1.043 GB, free: 10.55 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.8038, allocations: 128.9 kB / 1.043 GB, free: 10.41 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.158e-05/0.8039, allocations: 8 kB / 1.043 GB, free: 10.4 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002347/0.8041, allocations: 11.98 kB / 1.043 GB, free: 10.39 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/0.8041, allocations: 15.98 kB / 1.043 GB, free: 10.37 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.8042, allocations: 11.94 kB / 1.043 GB, free: 10.36 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002389/0.8044, allocations: 192.3 kB / 1.043 GB, free: 10.17 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8044, allocations: 0 / 1.043 GB, free: 10.17 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004498/0.8049, allocations: 92 kB / 1.043 GB, free: 10.08 MB / 0.795 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.0001762/0.8051, allocations: 111.2 kB / 1.044 GB, free: 9.965 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000941/0.806, allocations: 0.5418 MB / 1.044 GB, free: 9.41 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.806, allocations: 4.125 kB / 1.044 GB, free: 9.406 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002002/0.8062, allocations: 147.9 kB / 1.044 GB, free: 9.262 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005065/0.8068, allocations: 56.33 kB / 1.044 GB, free: 9.207 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/0.8084, allocations: 1.017 MB / 1.045 GB, free: 8.156 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/0.8088, allocations: 0.7951 MB / 1.046 GB, free: 7.336 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002275/0.809, allocations: 74.91 kB / 1.046 GB, free: 7.266 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.825e-05/0.8091, allocations: 31.42 kB / 1.046 GB, free: 7.234 MB / 0.795 GB Notification: Performance of SimCode: time 2.41e-07/0.8091, allocations: 0 / 1.046 GB, free: 7.234 MB / 0.795 GB Notification: Performance of Templates: time 0.00806/0.8172, allocations: 3.867 MB / 1.05 GB, free: 3.387 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches