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.001721/0.001721, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.002028/0.002028, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.449/1.449, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.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.9/2.9, allocations: 437.1 MB / 0.711 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.00193, allocations: 69.23 kB / 0.8699 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3385, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005794/0.3443, allocations: 3.271 MB / 1.021 GB, free: 7.367 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003789/0.3482, allocations: 2.026 MB / 1.023 GB, free: 5.328 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001948/0.3484, allocations: 7.938 kB / 1.023 GB, free: 5.32 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0009791/0.3494, allocations: 279.3 kB / 1.023 GB, free: 5.047 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0006325/0.3501, allocations: 242.9 kB / 1.024 GB, free: 4.809 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007898/0.3509, allocations: 291.9 kB / 1.024 GB, free: 4.523 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0005168/0.3514, allocations: 402.7 kB / 1.024 GB, free: 4.129 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004085/0.3518, allocations: 204.2 kB / 1.025 GB, free: 3.926 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000234/0.3521, allocations: 159.5 kB / 1.025 GB, free: 3.77 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003923/0.3525, allocations: 199.3 kB / 1.025 GB, free: 3.574 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 6.242e-05/0.3525, allocations: 24 kB / 1.025 GB, free: 3.551 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000518/0.3531, allocations: 259.5 kB / 1.025 GB, free: 3.297 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001468/0.3532, allocations: 119.7 kB / 1.025 GB, free: 3.18 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001825/0.3534, allocations: 155.2 kB / 1.025 GB, free: 3.027 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0006327/0.3541, allocations: 486.8 kB / 1.026 GB, free: 2.551 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3541, allocations: 0 / 1.026 GB, free: 2.551 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3541, allocations: 0 / 1.026 GB, free: 2.551 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.202e-05/0.3541, allocations: 4 kB / 1.026 GB, free: 2.547 MB / 0.795 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.001234/0.3553, allocations: 0.6042 MB / 1.026 GB, free: 1.895 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.3554, allocations: 8.922 kB / 1.026 GB, free: 1.887 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/0.3564, allocations: 112.4 kB / 1.027 GB, free: 1.777 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003982/0.3568, allocations: 277.4 kB / 1.027 GB, free: 1.465 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.3569, allocations: 20.94 kB / 1.027 GB, free: 1.445 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.357, allocations: 40.64 kB / 1.027 GB, free: 1.406 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007751/0.3578, allocations: 457 kB / 1.027 GB, free: 0.9258 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.3578, allocations: 7.938 kB / 1.027 GB, free: 0.918 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.872e-05/0.3579, allocations: 8 kB / 1.027 GB, free: 0.9102 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001488/0.358, allocations: 40.52 kB / 1.027 GB, free: 0.8711 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006781/0.3587, allocations: 365.9 kB / 1.028 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002893/0.3616, allocations: 2.226 MB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004789/0.3621, allocations: 266.4 kB / 1.03 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002429/0.3624, allocations: 160.8 kB / 1.03 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.3624, allocations: 0 / 1.03 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.3624, allocations: 34.56 kB / 1.03 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=22): time 1.092e-06/0.3624, allocations: 0 / 1.03 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of matching and sorting (n=23): time 0.00202/0.3645, allocations: 1.069 MB / 1.031 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.3645, allocations: 51.41 kB / 1.031 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000359/0.3649, allocations: 260.8 kB / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.212e-05/0.3649, allocations: 33.7 kB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.3651, allocations: 180 kB / 1.032 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.872e-05/0.3652, allocations: 86.83 kB / 1.032 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001441/0.3653, allocations: 77.59 kB / 1.032 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001787/0.3655, allocations: 334.8 kB / 1.032 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003038/0.3658, allocations: 163.8 kB / 1.033 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003804/0.3662, allocations: 245.5 kB / 1.033 GB, free: 11 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00065/0.3669, allocations: 415.3 kB / 1.033 GB, free: 10.56 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3669, allocations: 0 / 1.033 GB, free: 10.56 MB / 0.8106 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001325/0.3682, allocations: 0.5964 MB / 1.034 GB, free: 9.957 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.3682, allocations: 8 kB / 1.034 GB, free: 9.949 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.3682, allocations: 0 / 1.034 GB, free: 9.949 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007245/0.369, allocations: 192.8 kB / 1.034 GB, free: 9.758 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003466/0.3693, allocations: 67.89 kB / 1.034 GB, free: 9.691 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003333/0.3727, allocations: 2.491 MB / 1.036 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004221/0.3731, allocations: 28.05 kB / 1.036 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.593e-05/0.3732, allocations: 15.98 kB / 1.036 GB, free: 7.02 MB / 0.8106 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.0002185/0.3734, allocations: 157.8 kB / 1.037 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.963e-05/0.3735, allocations: 31.64 kB / 1.037 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006333/0.3741, allocations: 361.9 kB / 1.037 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.331e-06/0.3741, allocations: 4.109 kB / 1.037 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.3741, allocations: 7.938 kB / 1.037 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3741, allocations: 0 / 1.037 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/0.3754, allocations: 0.8122 MB / 1.038 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.3754, allocations: 3.984 kB / 1.038 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004157/0.3758, allocations: 75.88 kB / 1.038 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.3758, allocations: 0 / 1.038 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.51e-05/0.3759, allocations: 8 kB / 1.038 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.062e-06/0.3759, allocations: 4 kB / 1.038 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3759, allocations: 4.062 kB / 1.038 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008974/0.3768, allocations: 0.614 MB / 1.038 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001731/0.377, allocations: 132.8 kB / 1.039 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.658e-05/0.377, allocations: 4 kB / 1.039 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002438/0.3773, allocations: 11.98 kB / 1.039 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/0.3773, allocations: 27.91 kB / 1.039 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.3774, allocations: 8 kB / 1.039 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000275/0.3776, allocations: 184.5 kB / 1.039 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of sort global known variables: time 5.31e-07/0.3777, allocations: 0 / 1.039 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004547/0.3781, allocations: 92 kB / 1.039 GB, free: 4.383 MB / 0.8106 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.0002053/0.3783, allocations: 107.1 kB / 1.039 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00115/0.3795, allocations: 0.5763 MB / 1.04 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.3795, allocations: 0 / 1.04 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002321/0.3797, allocations: 148.5 kB / 1.04 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004918/0.3802, allocations: 69.19 kB / 1.04 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.382, allocations: 0.8694 MB / 1.041 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005475/0.3826, allocations: 0.7951 MB / 1.041 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.3827, allocations: 35.31 kB / 1.041 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of SimCode: time 5.61e-07/0.3827, allocations: 0 / 1.041 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of Templates: time 0.00794/0.3907, allocations: 4.535 MB / 1.046 GB, free: 13.18 MB / 0.8262 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/jenkins1/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