Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 75.2 kB / 19.18 MB, free: 2.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 172.7 kB / 22.46 MB, free: 5.348 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.427/1.427, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.973/2.973, allocations: 389 MB / 0.633 GB, free: 1 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynRC.i.1.|dynRC.i.2.|dynRL.i.1.|dynRL.i.2.|dynRC.v.1.|dynRC.v.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynRC.i.1.|dynRC.i.2.|dynRL.i.1.|dynRL.i.2.|dynRC.v.1.|dynRC.v.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 1 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.193e-05/3.39e-05, allocations: 6.219 kB / 1 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005594/0.005628, allocations: 3.222 MB / 1.003 GB, free: 4.055 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003851/0.009478, allocations: 1.963 MB / 1.005 GB, free: 2.082 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000218/0.009696, allocations: 7.938 kB / 1.005 GB, free: 2.074 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.00111/0.01081, allocations: 298.7 kB / 1.005 GB, free: 1.781 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0006978/0.0115, allocations: 250.6 kB / 1.006 GB, free: 1.535 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008287/0.01233, allocations: 285.1 kB / 1.006 GB, free: 1.258 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0007095/0.01304, allocations: 418.6 kB / 1.006 GB, free: 0.8477 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004239/0.01347, allocations: 168.3 kB / 1.007 GB, free: 0.6836 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004594/0.01393, allocations: 231.3 kB / 1.007 GB, free: 468 kB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004665/0.01439, allocations: 187.5 kB / 1.007 GB, free: 280 kB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 7.427e-05/0.01447, allocations: 24 kB / 1.007 GB, free: 256 kB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005156/0.01498, allocations: 247.3 kB / 1.007 GB, free: 8 kB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002006/0.01518, allocations: 127.7 kB / 1.007 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001756/0.01536, allocations: 99.75 kB / 1.007 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000817/0.01618, allocations: 0.5063 MB / 1.008 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.01618, allocations: 7.938 kB / 1.008 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.133e-06/0.01618, allocations: 0 / 1.008 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.01619, allocations: 4 kB / 1.008 GB, free: 15.27 MB / 0.9669 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.001312/0.0175, allocations: 0.5245 MB / 1.008 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.01754, allocations: 12.03 kB / 1.008 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/0.0186, allocations: 120.6 kB / 1.009 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004209/0.01903, allocations: 225.9 kB / 1.009 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.01905, allocations: 12.88 kB / 1.009 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/0.0192, allocations: 36.72 kB / 1.009 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008878/0.02008, allocations: 0.5186 MB / 1.009 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.0201, allocations: 192 / 1.009 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.602e-05/0.02015, allocations: 19.86 kB / 1.009 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001553/0.0203, allocations: 40.47 kB / 1.009 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007549/0.02106, allocations: 365.7 kB / 1.01 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002672/0.02373, allocations: 1.582 MB / 1.011 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004944/0.02422, allocations: 246.3 kB / 1.012 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002377/0.02446, allocations: 144.8 kB / 1.012 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.02448, allocations: 4 kB / 1.012 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.02452, allocations: 38.56 kB / 1.012 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=22): time 1.583e-06/0.02452, allocations: 0 / 1.012 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of matching and sorting (n=23): time 0.002042/0.02656, allocations: 0.9095 MB / 1.013 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.02661, allocations: 59.34 kB / 1.013 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003492/0.02696, allocations: 251.1 kB / 1.013 GB, free: 9.938 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/0.02699, allocations: 25.7 kB / 1.013 GB, free: 9.906 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.02714, allocations: 200.2 kB / 1.013 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.996e-05/0.02723, allocations: 83.28 kB / 1.013 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001655/0.0274, allocations: 85.62 kB / 1.013 GB, free: 9.531 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001811/0.02758, allocations: 334.8 kB / 1.014 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003303/0.02791, allocations: 151.9 kB / 1.014 GB, free: 9.047 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004145/0.02832, allocations: 250.9 kB / 1.014 GB, free: 8.766 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007036/0.02903, allocations: 407.4 kB / 1.014 GB, free: 8.336 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.02903, allocations: 0 / 1.014 GB, free: 8.336 MB / 0.9669 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001351/0.03038, allocations: 0.5972 MB / 1.015 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.0304, allocations: 4 kB / 1.015 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.03041, allocations: 4 kB / 1.015 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000764/0.03117, allocations: 192.9 kB / 1.015 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003353/0.03151, allocations: 63.89 kB / 1.015 GB, free: 7.469 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003286/0.03479, allocations: 2.335 MB / 1.017 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004019/0.0352, allocations: 36.03 kB / 1.018 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.708e-05/0.03523, allocations: 12.11 kB / 1.018 GB, free: 4.984 MB / 0.9669 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.000206/0.03544, allocations: 170.2 kB / 1.018 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.056e-05/0.03551, allocations: 23.86 kB / 1.018 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006042/0.03611, allocations: 357.9 kB / 1.018 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.03612, allocations: 4 kB / 1.018 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.03612, allocations: 3.938 kB / 1.018 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.03613, allocations: 0 / 1.018 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.03725, allocations: 0.708 MB / 1.019 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.03726, allocations: 0 / 1.019 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004269/0.03768, allocations: 79.88 kB / 1.019 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.03769, allocations: 0 / 1.019 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.144e-05/0.03772, allocations: 11.94 kB / 1.019 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.03772, allocations: 3.938 kB / 1.019 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.03772, allocations: 0 / 1.019 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008457/0.03857, allocations: 0.6027 MB / 1.019 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.0387, allocations: 59.81 kB / 1.019 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.199e-05/0.03876, allocations: 12.06 kB / 1.019 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/0.039, allocations: 15.97 kB / 1.02 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.976e-05/0.03905, allocations: 15.92 kB / 1.02 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/0.03907, allocations: 7.984 kB / 1.02 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002583/0.03933, allocations: 180.1 kB / 1.02 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.03933, allocations: 0 / 1.02 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004408/0.03977, allocations: 84 kB / 1.02 GB, free: 2.59 MB / 0.9669 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.0002259/0.03999, allocations: 115.2 kB / 1.02 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001068/0.04106, allocations: 0.5099 MB / 1.02 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.04107, allocations: 0 / 1.02 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002199/0.04129, allocations: 136.5 kB / 1.021 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004796/0.04177, allocations: 56.41 kB / 1.021 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.04335, allocations: 0.7387 MB / 1.021 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.04358, allocations: 201.6 kB / 1.021 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002256/0.0438, allocations: 70.22 kB / 1.022 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.429e-05/0.0439, allocations: 24.5 kB / 1.022 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of SimCode: time 4e-07/0.0439, allocations: 0 / 1.022 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of Templates: time 0.009479/0.05338, allocations: 4.164 MB / 1.026 GB, free: 12.56 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.48561480641365]