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.00118/0.001181, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001324/0.001324, allocations: 190.2 kB / 16.14 MB, free: 6.711 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.516/1.516, allocations: 222.9 MB / 239.8 MB, free: 4.629 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.551/2.551, allocations: 390.2 MB / 0.6642 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001469, allocations: 67.88 kB / 0.8119 GB, free: 14.92 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.862/0.8635, allocations: 140.4 MB / 0.9489 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005934/0.8695, allocations: 3.312 MB / 0.9522 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003529/0.873, allocations: 2.026 MB / 0.9541 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001804/0.8733, allocations: 3.094 kB / 0.9541 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008872/0.8742, allocations: 269.7 kB / 0.9544 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005102/0.8747, allocations: 220.1 kB / 0.9546 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006898/0.8754, allocations: 258.2 kB / 0.9549 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005122/0.8759, allocations: 0.5764 MB / 0.9554 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004107/0.8764, allocations: 204.5 kB / 0.9556 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001926/0.8766, allocations: 136.7 kB / 0.9557 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003339/0.8769, allocations: 209.1 kB / 0.9559 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.294e-05/0.877, allocations: 15.59 kB / 0.956 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005831/0.8776, allocations: 308.5 kB / 0.9563 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001519/0.8777, allocations: 113.9 kB / 0.9564 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001587/0.8779, allocations: 135.8 kB / 0.9565 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005719/0.8785, allocations: 498.2 kB / 0.957 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.8785, allocations: 0 / 0.957 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.72e-07/0.8785, allocations: 0 / 0.957 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.8785, allocations: 0 / 0.957 GB, free: 3.27 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.00115/0.8797, allocations: 0.6011 MB / 0.9576 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.8797, allocations: 10.75 kB / 0.9576 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.8807, allocations: 115 kB / 0.9577 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003539/0.8811, allocations: 270 kB / 0.9579 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.8812, allocations: 19.31 kB / 0.958 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/0.8813, allocations: 48.91 kB / 0.958 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007138/0.882, allocations: 452.4 kB / 0.9584 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/0.882, allocations: 1.375 kB / 0.9584 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.451e-05/0.8821, allocations: 14.73 kB / 0.9584 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001967/0.8823, allocations: 39.69 kB / 0.9585 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006531/0.883, allocations: 360.8 kB / 0.9588 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002347/0.8853, allocations: 2.232 MB / 0.961 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004879/0.8858, allocations: 261.3 kB / 0.9613 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002437/0.8861, allocations: 163.4 kB / 0.9614 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.8861, allocations: 5.062 kB / 0.9614 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/0.8862, allocations: 36.91 kB / 0.9615 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=22): time 1.894e-06/0.8862, allocations: 0 / 0.9615 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23): time 0.001918/0.8881, allocations: 1.057 MB / 0.9625 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.8882, allocations: 54.09 kB / 0.9625 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003324/0.8885, allocations: 261.7 kB / 0.9628 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.8885, allocations: 28.36 kB / 0.9628 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.8887, allocations: 188.7 kB / 0.963 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.519e-05/0.8887, allocations: 85.64 kB / 0.9631 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/0.8889, allocations: 76.47 kB / 0.9631 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.889, allocations: 336.2 kB / 0.9635 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002892/0.8893, allocations: 155.4 kB / 0.9636 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003592/0.8897, allocations: 245.2 kB / 0.9639 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005899/0.8903, allocations: 409.4 kB / 0.9642 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/0.8903, allocations: 12.84 kB / 0.9643 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001416/0.8917, allocations: 0.6059 MB / 0.9648 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.8918, allocations: 6.25 kB / 0.9649 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.8918, allocations: 2.062 kB / 0.9649 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000898/0.8927, allocations: 183.3 kB / 0.965 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004263/0.8931, allocations: 66.98 kB / 0.9651 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003128/0.8963, allocations: 2.306 MB / 0.9673 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000413/0.8967, allocations: 23.72 kB / 0.9674 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.616e-05/0.8967, allocations: 14.59 kB / 0.9674 GB, free: 10.99 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.0002324/0.897, allocations: 163.8 kB / 0.9675 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.394e-05/0.8971, allocations: 27.66 kB / 0.9676 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006705/0.8977, allocations: 349.9 kB / 0.9679 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.8977, allocations: 6.188 kB / 0.9679 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.8978, allocations: 1.031 kB / 0.9679 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.8978, allocations: 3.984 kB / 0.9679 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00125/0.899, allocations: 0.8169 MB / 0.9687 GB, free: 9.988 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.899, allocations: 1.312 kB / 0.9687 GB, free: 9.988 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000406/0.8994, allocations: 73.03 kB / 0.9688 GB, free: 9.969 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.8995, allocations: 2.562 kB / 0.9688 GB, free: 9.969 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.514e-05/0.8995, allocations: 10.62 kB / 0.9688 GB, free: 9.961 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.8995, allocations: 1.469 kB / 0.9688 GB, free: 9.961 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.8995, allocations: 4.844 kB / 0.9688 GB, free: 9.957 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009282/0.9004, allocations: 0.6142 MB / 0.9694 GB, free: 9.562 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001555/0.9006, allocations: 124.1 kB / 0.9695 GB, free: 9.441 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.955e-05/0.9007, allocations: 11.36 kB / 0.9695 GB, free: 9.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002409/0.9009, allocations: 18.73 kB / 0.9695 GB, free: 9.422 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.563e-05/0.901, allocations: 10.39 kB / 0.9696 GB, free: 9.418 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.901, allocations: 13.25 kB / 0.9696 GB, free: 9.41 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002729/0.9013, allocations: 188.1 kB / 0.9697 GB, free: 9.281 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9013, allocations: 0 / 0.9697 GB, free: 9.281 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005632/0.9019, allocations: 90.66 kB / 0.9698 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.0002083/0.9021, allocations: 120.9 kB / 0.9699 GB, free: 9.164 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001044/0.9031, allocations: 0.528 MB / 0.9705 GB, free: 8.844 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.9031, allocations: 0.625 kB / 0.9705 GB, free: 8.844 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002194/0.9034, allocations: 152.5 kB / 0.9706 GB, free: 8.773 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004684/0.9038, allocations: 55.52 kB / 0.9707 GB, free: 8.742 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001776/0.9056, allocations: 0.9393 MB / 0.9716 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004376/0.9061, allocations: 0.8031 MB / 0.9724 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002741/0.9064, allocations: 78.72 kB / 0.9724 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.429e-05/0.9065, allocations: 26.42 kB / 0.9725 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of SimCode: time 2e-07/0.9065, allocations: 0 / 0.9725 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of Templates: time 0.009559/0.916, allocations: 3.962 MB / 0.9763 GB, free: 5.254 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/jenkins/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