Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 112.6 kB / 16.37 MB, free: 6 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.001418/0.001418, allocations: 196 kB / 17.31 MB, free: 5.613 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.527/1.527, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.626/2.626, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 68.12 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3612, allocations: 153 MB / 1.027 GB, free: 2.066 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.007393/0.3686, allocations: 4.294 MB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004053/0.3727, allocations: 2.373 MB / 1.033 GB, free: 11.37 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000393/0.3731, allocations: 19.88 kB / 1.033 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001186/0.3744, allocations: 369.6 kB / 1.034 GB, free: 10.99 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001021/0.3754, allocations: 374.2 kB / 1.034 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008746/0.3763, allocations: 315.2 kB / 1.034 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0008183/0.3771, allocations: 0.6866 MB / 1.035 GB, free: 9.625 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000449/0.3776, allocations: 266 kB / 1.035 GB, free: 9.363 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003332/0.3779, allocations: 243.1 kB / 1.035 GB, free: 9.125 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003809/0.3783, allocations: 270.8 kB / 1.036 GB, free: 8.859 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.847e-05/0.3784, allocations: 28 kB / 1.036 GB, free: 8.832 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007708/0.3792, allocations: 435 kB / 1.036 GB, free: 8.406 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001541/0.3793, allocations: 147.5 kB / 1.036 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002329/0.3796, allocations: 242.6 kB / 1.037 GB, free: 8.023 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0008701/0.3805, allocations: 0.7319 MB / 1.037 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3805, allocations: 0 / 1.037 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.542e-06/0.3805, allocations: 4 kB / 1.037 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.3805, allocations: 0 / 1.037 GB, free: 7.285 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001226/0.3817, allocations: 0.7921 MB / 1.038 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.3818, allocations: 12.03 kB / 1.038 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001364/0.3832, allocations: 184.1 kB / 1.038 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006793/0.3838, allocations: 436.5 kB / 1.039 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.986e-05/0.3839, allocations: 29.36 kB / 1.039 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.559e-05/0.384, allocations: 28.38 kB / 1.039 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008859/0.3849, allocations: 0.6555 MB / 1.039 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.3849, allocations: 11.84 kB / 1.039 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.291e-05/0.3849, allocations: 19.98 kB / 1.039 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.99e-05/0.385, allocations: 59.95 kB / 1.039 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007296/0.3858, allocations: 499.3 kB / 1.04 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003446/0.3892, allocations: 3.775 MB / 1.044 GB, free: 380 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001669/0.3909, allocations: 0.625 MB / 1.044 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002535/0.3912, allocations: 178.5 kB / 1.044 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.16e-05/0.3912, allocations: 4 kB / 1.044 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.014e-05/0.3913, allocations: 38.56 kB / 1.044 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 7.053e-06/0.3913, allocations: 3.984 kB / 1.044 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33): time 0.002401/0.3937, allocations: 1.273 MB / 1.046 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.635e-05/0.3938, allocations: 114.8 kB / 1.046 GB, free: 14 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000448/0.3942, allocations: 397.8 kB / 1.046 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.3943, allocations: 33.7 kB / 1.046 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002012/0.3945, allocations: 279.5 kB / 1.046 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.999e-05/0.3946, allocations: 118.4 kB / 1.047 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.3947, allocations: 98.06 kB / 1.047 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.3949, allocations: 358.8 kB / 1.047 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002576/0.3951, allocations: 173 kB / 1.047 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003964/0.3955, allocations: 375.2 kB / 1.047 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007105/0.3963, allocations: 0.599 MB / 1.048 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.3963, allocations: 3.938 kB / 1.048 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001062/0.3973, allocations: 0.6785 MB / 1.049 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.3974, allocations: 8 kB / 1.049 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.3974, allocations: 4 kB / 1.049 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003555/0.3977, allocations: 103.1 kB / 1.049 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004035/0.3982, allocations: 111.8 kB / 1.049 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003599/0.4018, allocations: 4.336 MB / 1.053 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004147/0.4022, allocations: 31.97 kB / 1.053 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.568e-05/0.4023, allocations: 24 kB / 1.053 GB, free: 5.641 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002717/0.4025, allocations: 205.6 kB / 1.053 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.4026, allocations: 51.47 kB / 1.053 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009595/0.4036, allocations: 0.5187 MB / 1.054 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.4036, allocations: 4 kB / 1.054 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.4036, allocations: 4 kB / 1.054 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.4036, allocations: 0 / 1.054 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001796/0.4054, allocations: 1.292 MB / 1.055 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.4055, allocations: 0 / 1.055 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002375/0.4057, allocations: 67.89 kB / 1.055 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000263/0.406, allocations: 86.45 kB / 1.055 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.541e-05/0.406, allocations: 8 kB / 1.055 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003682/0.4097, allocations: 4.346 MB / 1.06 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.685e-06/0.4097, allocations: 7.969 kB / 1.06 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.4108, allocations: 0.7775 MB / 1.06 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002672/0.4111, allocations: 152.5 kB / 1.061 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.062e-05/0.4112, allocations: 12 kB / 1.061 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005016/0.4117, allocations: 19.97 kB / 1.061 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.009e-05/0.4118, allocations: 35.91 kB / 1.061 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.443e-05/0.4118, allocations: 8 kB / 1.061 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003718/0.4122, allocations: 283.1 kB / 1.061 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2e-07/0.4122, allocations: 3.938 kB / 1.061 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0008439/0.4131, allocations: 124 kB / 1.061 GB, free: 13.04 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002306/0.4133, allocations: 115.2 kB / 1.061 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001344/0.4147, allocations: 0.8011 MB / 1.062 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.4147, allocations: 0 / 1.062 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0007131/0.4154, allocations: 0.5522 MB / 1.062 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009369/0.4163, allocations: 133.8 kB / 1.063 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001759/0.4181, allocations: 0.8934 MB / 1.063 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005848/0.4187, allocations: 0.8625 MB / 1.064 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002869/0.419, allocations: 100.5 kB / 1.064 GB, free: 9.402 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.4191, allocations: 43.42 kB / 1.064 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of SimCode: time 2.114e-06/0.4191, allocations: 0 / 1.064 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of Templates: time 0.01212/0.4312, allocations: 5.78 MB / 1.07 GB, free: 3.645 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches