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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.006061/0.006061, allocations: 98.48 kB / 15.73 MB, free: 6.004 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.001275/0.001275, allocations: 193.2 kB / 16.67 MB, free: 5.934 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.799/2.799, allocations: 472.6 MB / 0.7453 GB, free: 4.543 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 63.84 kB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3075, allocations: 159.9 MB / 1.226 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005087/0.3126, allocations: 4.292 MB / 1.23 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003393/0.316, allocations: 2.369 MB / 1.232 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002112/0.3163, allocations: 15.88 kB / 1.232 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001038/0.3173, allocations: 369.4 kB / 1.233 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0007319/0.3181, allocations: 378.1 kB / 1.233 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006895/0.3188, allocations: 319.2 kB / 1.233 GB, free: 1.402 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006287/0.3194, allocations: 0.6828 MB / 1.234 GB, free: 0.7188 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003789/0.3198, allocations: 262 kB / 1.234 GB, free: 468 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002729/0.3201, allocations: 263 kB / 1.234 GB, free: 204 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003411/0.3204, allocations: 262.9 kB / 1.235 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.699e-05/0.3205, allocations: 31.94 kB / 1.235 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006311/0.3211, allocations: 435 kB / 1.235 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001385/0.3213, allocations: 143.6 kB / 1.235 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002023/0.3215, allocations: 234.7 kB / 1.235 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007626/0.3222, allocations: 0.7354 MB / 1.236 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3223, allocations: 0 / 1.236 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3223, allocations: 0 / 1.236 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.445e-06/0.3223, allocations: 4 kB / 1.236 GB, free: 14.37 MB / 0.9981 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.001039/0.3233, allocations: 0.8019 MB / 1.237 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.3234, allocations: 12.03 kB / 1.237 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00132/0.3247, allocations: 184.4 kB / 1.237 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000538/0.3252, allocations: 444.8 kB / 1.238 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.3253, allocations: 29.36 kB / 1.238 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.853e-05/0.3253, allocations: 28.38 kB / 1.238 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007915/0.3261, allocations: 0.6638 MB / 1.238 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.3262, allocations: 7.875 kB / 1.238 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.091e-05/0.3262, allocations: 19.98 kB / 1.238 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.089e-05/0.3263, allocations: 51.91 kB / 1.238 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006656/0.327, allocations: 0.4993 MB / 1.239 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002736/0.3297, allocations: 3.775 MB / 1.242 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001567/0.3313, allocations: 0.6289 MB / 1.243 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000223/0.3315, allocations: 178.4 kB / 1.243 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.3316, allocations: 4 kB / 1.243 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.3316, allocations: 38.56 kB / 1.243 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=30): time 1.663e-06/0.3316, allocations: 0 / 1.243 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.002047/0.3336, allocations: 1.294 MB / 1.245 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/0.3337, allocations: 110.8 kB / 1.245 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003503/0.3341, allocations: 394.4 kB / 1.245 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.3341, allocations: 33.7 kB / 1.245 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.3343, allocations: 292.1 kB / 1.245 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.559e-05/0.3343, allocations: 123 kB / 1.245 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.3345, allocations: 102.1 kB / 1.246 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.3346, allocations: 354.8 kB / 1.246 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002392/0.3348, allocations: 181 kB / 1.246 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003399/0.3352, allocations: 375.7 kB / 1.246 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006287/0.3358, allocations: 0.5912 MB / 1.247 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.3358, allocations: 11.94 kB / 1.247 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009774/0.3368, allocations: 0.6674 MB / 1.248 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.3368, allocations: 11.98 kB / 1.248 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.3369, allocations: 4 kB / 1.248 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003272/0.3372, allocations: 98.86 kB / 1.248 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003623/0.3376, allocations: 119.8 kB / 1.248 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6859/1.023, allocations: 4.333 MB / 1.252 GB, free: 23.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004434/1.024, allocations: 31.97 kB / 1.252 GB, free: 23.21 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.425e-05/1.024, allocations: 25.11 kB / 1.252 GB, free: 23.21 MB / 0.9981 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.0002462/1.024, allocations: 192.6 kB / 1.252 GB, free: 23.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/1.024, allocations: 49.98 kB / 1.252 GB, free: 23.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008967/1.025, allocations: 0.5226 MB / 1.253 GB, free: 23.03 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/1.025, allocations: 5.516 kB / 1.253 GB, free: 23.03 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/1.025, allocations: 4.969 kB / 1.253 GB, free: 23.03 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/1.025, allocations: 3.266 kB / 1.253 GB, free: 23.03 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001592/1.027, allocations: 1.282 MB / 1.254 GB, free: 22.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/1.027, allocations: 3.531 kB / 1.254 GB, free: 22.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002362/1.027, allocations: 62.36 kB / 1.254 GB, free: 22.48 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002604/1.027, allocations: 88.69 kB / 1.254 GB, free: 22.46 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.605e-05/1.027, allocations: 11.75 kB / 1.254 GB, free: 22.46 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002488/1.03, allocations: 4.342 MB / 1.259 GB, free: 18.42 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/1.03, allocations: 5.188 kB / 1.259 GB, free: 18.42 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/1.031, allocations: 0.7836 MB / 1.259 GB, free: 18.02 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000213/1.031, allocations: 157.4 kB / 1.26 GB, free: 17.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.724e-05/1.031, allocations: 10.62 kB / 1.26 GB, free: 17.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003255/1.032, allocations: 21.5 kB / 1.26 GB, free: 17.91 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/1.032, allocations: 41.64 kB / 1.26 GB, free: 17.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-05/1.032, allocations: 10.33 kB / 1.26 GB, free: 17.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004459/1.032, allocations: 280.4 kB / 1.26 GB, free: 17.81 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.3e-07/1.032, allocations: 1.031 kB / 1.26 GB, free: 17.81 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008248/1.033, allocations: 119.5 kB / 1.26 GB, free: 17.81 MB / 0.9981 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.0001574/1.033, allocations: 114.6 kB / 1.26 GB, free: 17.72 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001446/1.035, allocations: 0.8196 MB / 1.261 GB, free: 17.36 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/1.035, allocations: 1.25 kB / 1.261 GB, free: 17.36 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007104/1.035, allocations: 0.5433 MB / 1.261 GB, free: 17.02 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009693/1.036, allocations: 127.8 kB / 1.262 GB, free: 17.02 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/1.038, allocations: 0.9212 MB / 1.262 GB, free: 16.56 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/1.038, allocations: 0.8676 MB / 1.263 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002503/1.038, allocations: 103.3 kB / 1.263 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.273e-05/1.039, allocations: 33.12 kB / 1.263 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of SimCode: time 5.71e-07/1.039, allocations: 0 / 1.263 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of Templates: time 0.01108/1.05, allocations: 5.85 MB / 1.269 GB, free: 15.52 MB / 0.9981 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 -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/jenkins/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