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.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001083/0.001083, allocations: 91.53 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001593/0.001594, allocations: 178.2 kB / 16.92 MB, free: 6.652 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.381/1.381, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.703/2.703, allocations: 462.7 MB / 0.7371 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003504/0.0003505, allocations: 10.41 kB / 0.9034 GB, free: 36.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3179, allocations: 159.6 MB / 1.059 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004074/0.3221, allocations: 2.939 MB / 1.062 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003475/0.3256, allocations: 1.995 MB / 1.064 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000241/0.3258, allocations: 11.78 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00024/0.3261, allocations: 43.62 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0007068/0.3268, allocations: 215.1 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007755/0.3276, allocations: 263.5 kB / 1.065 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007151/0.3283, allocations: 0.5727 MB / 1.065 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008997/0.3292, allocations: 461 kB / 1.066 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002844/0.3295, allocations: 139.4 kB / 1.066 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004515/0.33, allocations: 187.3 kB / 1.066 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.655e-05/0.3301, allocations: 12 kB / 1.066 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00056/0.3306, allocations: 307.4 kB / 1.066 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001437/0.3308, allocations: 107.7 kB / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001775/0.331, allocations: 153 kB / 1.067 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005078/0.3315, allocations: 379.3 kB / 1.067 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.3315, allocations: 4 kB / 1.067 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3315, allocations: 4 kB / 1.067 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.368e-05/0.3315, allocations: 0 / 1.067 GB, free: 13.09 MB / 0.8262 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.001062/0.3326, allocations: 0.542 MB / 1.067 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.3326, allocations: 11.97 kB / 1.067 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/0.3337, allocations: 120.4 kB / 1.068 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003957/0.3341, allocations: 269.2 kB / 1.068 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.3341, allocations: 20.92 kB / 1.068 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/0.3343, allocations: 44.39 kB / 1.068 GB, free: 12 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000744/0.335, allocations: 457.1 kB / 1.068 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.335, allocations: 3.938 kB / 1.068 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.015e-05/0.3351, allocations: 8 kB / 1.068 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001432/0.3352, allocations: 40.53 kB / 1.068 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006577/0.3359, allocations: 365.9 kB / 1.069 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002618/0.3385, allocations: 2.222 MB / 1.071 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004193/0.339, allocations: 263.4 kB / 1.071 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002182/0.3392, allocations: 160.8 kB / 1.071 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.3392, allocations: 4 kB / 1.071 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.3393, allocations: 34.56 kB / 1.071 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 2.084e-06/0.3393, allocations: 3.938 kB / 1.071 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23): time 0.00183/0.3411, allocations: 1.057 MB / 1.072 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.3412, allocations: 59.27 kB / 1.072 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003182/0.3415, allocations: 260.9 kB / 1.073 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.3415, allocations: 29.7 kB / 1.073 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.3416, allocations: 184 kB / 1.073 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.695e-05/0.3417, allocations: 82.75 kB / 1.073 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.914e-05/0.3418, allocations: 41.69 kB / 1.073 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.3419, allocations: 330.8 kB / 1.073 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002856/0.3422, allocations: 167.9 kB / 1.073 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003249/0.3425, allocations: 241.5 kB / 1.074 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005788/0.3431, allocations: 406.8 kB / 1.074 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.3431, allocations: 3.938 kB / 1.074 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001231/0.3444, allocations: 0.6011 MB / 1.075 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.3444, allocations: 4 kB / 1.075 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.3444, allocations: 4 kB / 1.075 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007188/0.3451, allocations: 192.8 kB / 1.075 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003231/0.3455, allocations: 59.89 kB / 1.075 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002745/0.3482, allocations: 2.304 MB / 1.077 GB, free: 1.902 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004257/0.3487, allocations: 27.97 kB / 1.077 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.862e-05/0.3487, allocations: 15.98 kB / 1.077 GB, free: 1.859 MB / 0.8262 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.0001998/0.3489, allocations: 157.8 kB / 1.077 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.059e-05/0.349, allocations: 31.72 kB / 1.077 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005854/0.3496, allocations: 358.5 kB / 1.078 GB, free: 1.312 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3496, allocations: 0 / 1.078 GB, free: 1.312 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.3496, allocations: 3.984 kB / 1.078 GB, free: 1.309 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3496, allocations: 0 / 1.078 GB, free: 1.309 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.3507, allocations: 0.8219 MB / 1.079 GB, free: 436 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.3508, allocations: 0 / 1.079 GB, free: 436 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004053/0.3512, allocations: 75.95 kB / 1.079 GB, free: 360 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.281e-06/0.3512, allocations: 3.984 kB / 1.079 GB, free: 356 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.571e-05/0.3512, allocations: 8 kB / 1.079 GB, free: 348 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.3512, allocations: 0 / 1.079 GB, free: 348 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3512, allocations: 0 / 1.079 GB, free: 348 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007815/0.352, allocations: 0.6181 MB / 1.079 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001501/0.3522, allocations: 136.8 kB / 1.079 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.615e-05/0.3522, allocations: 4 kB / 1.079 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002595/0.3525, allocations: 11.98 kB / 1.079 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.622e-05/0.3526, allocations: 19.97 kB / 1.079 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.3526, allocations: 4 kB / 1.079 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002335/0.3528, allocations: 192.4 kB / 1.08 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3528, allocations: 0 / 1.08 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004504/0.3533, allocations: 95.94 kB / 1.08 GB, free: 15.22 MB / 0.8419 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.0001725/0.3535, allocations: 115.1 kB / 1.08 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009694/0.3544, allocations: 0.5223 MB / 1.08 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.3545, allocations: 12 kB / 1.08 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002075/0.3547, allocations: 147.8 kB / 1.08 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004855/0.3552, allocations: 56.36 kB / 1.08 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.357, allocations: 1.071 MB / 1.082 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004156/0.3574, allocations: 0.7951 MB / 1.082 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.3575, allocations: 27.42 kB / 1.082 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of SimCode: time 6.82e-07/0.3576, allocations: 0 / 1.082 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of Templates: time 0.00834/0.3659, allocations: 4.497 MB / 1.087 GB, free: 7.91 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches