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.0009334/0.000937, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001011/0.001011, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.787/2.787, allocations: 436.5 MB / 0.7104 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00039/0.0003904, allocations: 11.98 kB / 0.8708 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8824/0.8828, allocations: 153.7 MB / 1.021 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.004771/0.8876, allocations: 3.629 MB / 1.024 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003656/0.8913, allocations: 2.18 MB / 1.026 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000399/0.8917, allocations: 15.88 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002492/0.892, allocations: 51.61 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0009827/0.893, allocations: 287.1 kB / 1.027 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007996/0.8938, allocations: 235.5 kB / 1.027 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007362/0.8945, allocations: 440.7 kB / 1.027 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009148/0.8955, allocations: 422.7 kB / 1.028 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000328/0.8958, allocations: 203.2 kB / 1.028 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003615/0.8962, allocations: 207.1 kB / 1.028 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.675e-05/0.8962, allocations: 16 kB / 1.028 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004176/0.8966, allocations: 187.7 kB / 1.028 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.8968, allocations: 115.6 kB / 1.029 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.8969, allocations: 101.5 kB / 1.029 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005523/0.8974, allocations: 0.5045 MB / 1.029 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.8974, allocations: 7.938 kB / 1.029 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.974e-06/0.8975, allocations: 0 / 1.029 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.8975, allocations: 0 / 1.029 GB, free: 8.449 MB / 0.7794 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.001195/0.8987, allocations: 0.6974 MB / 1.03 GB, free: 7.699 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.068e-05/0.8987, allocations: 15.98 kB / 1.03 GB, free: 7.684 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001346/0.9001, allocations: 171.2 kB / 1.03 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006347/0.9007, allocations: 391.5 kB / 1.03 GB, free: 7.094 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.601e-05/0.9008, allocations: 32.88 kB / 1.03 GB, free: 7.062 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.514e-05/0.9009, allocations: 35.94 kB / 1.03 GB, free: 7.027 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008496/0.9017, allocations: 0.6429 MB / 1.031 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.9017, allocations: 3.938 kB / 1.031 GB, free: 6.289 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.508e-05/0.9018, allocations: 23.98 kB / 1.031 GB, free: 6.266 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.12e-05/0.9019, allocations: 55.89 kB / 1.031 GB, free: 6.211 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007761/0.9027, allocations: 495.3 kB / 1.032 GB, free: 5.727 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003589/0.9063, allocations: 3.794 MB / 1.035 GB, free: 1.672 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001752/0.908, allocations: 0.6286 MB / 1.036 GB, free: 1.016 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.9081, allocations: 4 kB / 1.036 GB, free: 1.012 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.9081, allocations: 42.56 kB / 1.036 GB, free: 0.9609 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=30): time 2.775e-06/0.9081, allocations: 4 kB / 1.036 GB, free: 0.957 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33): time 0.002202/0.9103, allocations: 1.274 MB / 1.037 GB, free: 15.61 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/0.9104, allocations: 106.8 kB / 1.037 GB, free: 15.48 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003999/0.9108, allocations: 389.8 kB / 1.038 GB, free: 15.09 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.543e-05/0.9108, allocations: 29.7 kB / 1.038 GB, free: 15.05 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/0.911, allocations: 291.4 kB / 1.038 GB, free: 14.76 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.794e-05/0.9111, allocations: 110.5 kB / 1.038 GB, free: 14.65 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.097e-05/0.9112, allocations: 15.94 kB / 1.038 GB, free: 14.64 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002573/0.9114, allocations: 362.6 kB / 1.039 GB, free: 14.28 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002589/0.9117, allocations: 177 kB / 1.039 GB, free: 14.11 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000466/0.9122, allocations: 367.2 kB / 1.039 GB, free: 13.66 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00032/0.9125, allocations: 240 kB / 1.039 GB, free: 13.43 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.9125, allocations: 0 / 1.039 GB, free: 13.43 MB / 0.795 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009899/0.9135, allocations: 0.6753 MB / 1.04 GB, free: 12.73 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.9135, allocations: 11.95 kB / 1.04 GB, free: 12.72 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.9136, allocations: 4 kB / 1.04 GB, free: 12.72 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003375/0.9139, allocations: 94.45 kB / 1.04 GB, free: 12.62 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003841/0.9143, allocations: 115.8 kB / 1.04 GB, free: 12.5 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003346/0.9177, allocations: 4.044 MB / 1.044 GB, free: 8.059 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003425/0.918, allocations: 31.97 kB / 1.044 GB, free: 8.027 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.017e-05/0.9181, allocations: 24 kB / 1.044 GB, free: 8.004 MB / 0.795 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002846/0.9184, allocations: 197.8 kB / 1.044 GB, free: 7.801 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.9185, allocations: 47.48 kB / 1.044 GB, free: 7.754 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009116/0.9194, allocations: 0.5229 MB / 1.045 GB, free: 7.215 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.9194, allocations: 4 kB / 1.045 GB, free: 7.211 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.9194, allocations: 0 / 1.045 GB, free: 7.211 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.9194, allocations: 7.953 kB / 1.045 GB, free: 7.203 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001749/0.9212, allocations: 1.287 MB / 1.046 GB, free: 5.82 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.9212, allocations: 0 / 1.046 GB, free: 5.82 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002288/0.9214, allocations: 59.91 kB / 1.046 GB, free: 5.762 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002782/0.9217, allocations: 94.44 kB / 1.046 GB, free: 5.66 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.345e-05/0.9218, allocations: 8.281 kB / 1.046 GB, free: 5.652 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00333/0.9251, allocations: 4.048 MB / 1.05 GB, free: 1.207 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.9251, allocations: 7.938 kB / 1.05 GB, free: 1.199 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.9262, allocations: 0.9095 MB / 1.051 GB, free: 168 kB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002349/0.9265, allocations: 152.5 kB / 1.051 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.498e-05/0.9266, allocations: 8 kB / 1.051 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002922/0.9268, allocations: 23.92 kB / 1.051 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.834e-05/0.9269, allocations: 35.86 kB / 1.051 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-05/0.9269, allocations: 19.98 kB / 1.051 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002874/0.9272, allocations: 271.1 kB / 1.052 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.593e-06/0.9272, allocations: 0 / 1.052 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0006939/0.9279, allocations: 131.9 kB / 1.052 GB, free: 15.52 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001515/0.9281, allocations: 115.1 kB / 1.052 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001448/0.9296, allocations: 0.7982 MB / 1.053 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/0.9296, allocations: 0 / 1.053 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006898/0.9303, allocations: 0.5513 MB / 1.053 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007125/0.931, allocations: 126.2 kB / 1.053 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/0.9324, allocations: 1.047 MB / 1.054 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004697/0.9329, allocations: 0.8742 MB / 1.055 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.000264/0.9332, allocations: 100.5 kB / 1.055 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.715e-05/0.9333, allocations: 39.42 kB / 1.055 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of SimCode: time 1.442e-06/0.9333, allocations: 0 / 1.055 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of Templates: time 0.009779/0.9431, allocations: 5.294 MB / 1.06 GB, free: 6.465 MB / 0.8106 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","../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches