Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.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_9_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_9_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.009227/0.009227, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001802/0.001802, allocations: 194.4 kB / 16.67 MB, free: 5.977 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.541/1.541, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.603/2.603, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 62.83 kB / 0.9508 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.31, allocations: 140.4 MB / 1.088 GB, free: 1.637 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.00547/0.3155, allocations: 4.292 MB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00381/0.3194, allocations: 2.361 MB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002957/0.3197, allocations: 19.88 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001202/0.321, allocations: 379.7 kB / 1.095 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0008433/0.3218, allocations: 366.2 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007803/0.3226, allocations: 314 kB / 1.095 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008156/0.3234, allocations: 0.6867 MB / 1.096 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000427/0.3239, allocations: 273.9 kB / 1.096 GB, free: 8.934 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000317/0.3242, allocations: 251 kB / 1.097 GB, free: 8.688 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003628/0.3246, allocations: 266.9 kB / 1.097 GB, free: 8.426 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.89e-05/0.3246, allocations: 32 kB / 1.097 GB, free: 8.395 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007144/0.3254, allocations: 431 kB / 1.097 GB, free: 7.973 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001588/0.3255, allocations: 147.5 kB / 1.097 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002192/0.3258, allocations: 238.6 kB / 1.098 GB, free: 7.594 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008419/0.3266, allocations: 0.732 MB / 1.098 GB, free: 6.859 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3266, allocations: 0 / 1.098 GB, free: 6.859 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3266, allocations: 4 kB / 1.098 GB, free: 6.855 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.3267, allocations: 3.984 kB / 1.098 GB, free: 6.852 MB / 0.8575 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.001089/0.3278, allocations: 0.7831 MB / 1.099 GB, free: 6.02 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.3278, allocations: 8.031 kB / 1.099 GB, free: 6.012 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00128/0.3291, allocations: 180.1 kB / 1.099 GB, free: 5.836 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005846/0.3297, allocations: 444.5 kB / 1.1 GB, free: 5.367 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.635e-05/0.3297, allocations: 25.36 kB / 1.1 GB, free: 5.34 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.983e-05/0.3298, allocations: 32.38 kB / 1.1 GB, free: 5.309 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008608/0.3306, allocations: 0.6549 MB / 1.1 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/0.3307, allocations: 11.84 kB / 1.1 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.263e-05/0.3307, allocations: 19.98 kB / 1.1 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.169e-05/0.3308, allocations: 47.97 kB / 1.101 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006896/0.3315, allocations: 0.4993 MB / 1.101 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003063/0.3346, allocations: 3.775 MB / 1.105 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001644/0.3362, allocations: 0.636 MB / 1.105 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002431/0.3365, allocations: 178.4 kB / 1.106 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.3365, allocations: 4 kB / 1.106 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.3366, allocations: 34.56 kB / 1.106 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=30): time 2.104e-06/0.3366, allocations: 4 kB / 1.106 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.002262/0.3388, allocations: 1.281 MB / 1.107 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.121e-05/0.3389, allocations: 110.8 kB / 1.107 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004458/0.3394, allocations: 393.8 kB / 1.107 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.3394, allocations: 37.69 kB / 1.107 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.3396, allocations: 283.4 kB / 1.108 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.925e-05/0.3397, allocations: 118.3 kB / 1.108 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.3398, allocations: 98.16 kB / 1.108 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.34, allocations: 346.8 kB / 1.108 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000242/0.3402, allocations: 177 kB / 1.108 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003553/0.3406, allocations: 383.7 kB / 1.109 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006492/0.3413, allocations: 0.5912 MB / 1.109 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.3413, allocations: 7.938 kB / 1.109 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001005/0.3423, allocations: 0.6669 MB / 1.11 GB, free: 10.26 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.3423, allocations: 8 kB / 1.11 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.3423, allocations: 8 kB / 1.11 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003503/0.3427, allocations: 103.1 kB / 1.11 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003841/0.3431, allocations: 111.8 kB / 1.11 GB, free: 10.03 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003582/0.3467, allocations: 4.34 MB / 1.114 GB, free: 5.262 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003789/0.3471, allocations: 27.97 kB / 1.114 GB, free: 5.234 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-05/0.3471, allocations: 24 kB / 1.114 GB, free: 5.211 MB / 0.8731 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.0002465/0.3474, allocations: 205.6 kB / 1.115 GB, free: 5 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.922e-05/0.3475, allocations: 51.42 kB / 1.115 GB, free: 4.949 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008524/0.3483, allocations: 0.515 MB / 1.115 GB, free: 4.418 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.3483, allocations: 4 kB / 1.115 GB, free: 4.414 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.3484, allocations: 3.938 kB / 1.115 GB, free: 4.41 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.3484, allocations: 3.984 kB / 1.115 GB, free: 4.406 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001652/0.35, allocations: 1.284 MB / 1.116 GB, free: 3.027 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.35, allocations: 4 kB / 1.116 GB, free: 3.023 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002736/0.3503, allocations: 59.89 kB / 1.116 GB, free: 2.965 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002571/0.3506, allocations: 94.44 kB / 1.117 GB, free: 2.863 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.288e-05/0.3506, allocations: 8 kB / 1.117 GB, free: 2.855 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003229/0.3539, allocations: 4.34 MB / 1.121 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.251e-06/0.3539, allocations: 7.938 kB / 1.121 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008609/0.3547, allocations: 0.771 MB / 1.122 GB, free: 13.26 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001755/0.3549, allocations: 152.5 kB / 1.122 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.542e-05/0.355, allocations: 15.94 kB / 1.122 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002949/0.3553, allocations: 23.97 kB / 1.122 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.284e-05/0.3553, allocations: 27.91 kB / 1.122 GB, free: 13.02 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/0.3554, allocations: 19.98 kB / 1.122 GB, free: 13 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003073/0.3557, allocations: 275.1 kB / 1.122 GB, free: 12.74 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.234e-06/0.3557, allocations: 0 / 1.122 GB, free: 12.74 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0007482/0.3565, allocations: 131.9 kB / 1.122 GB, free: 12.61 MB / 0.8887 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.0002053/0.3567, allocations: 115.1 kB / 1.122 GB, free: 12.49 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001293/0.358, allocations: 0.8014 MB / 1.123 GB, free: 11.65 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.358, allocations: 0 / 1.123 GB, free: 11.65 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.00072/0.3587, allocations: 0.5517 MB / 1.124 GB, free: 11.06 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008745/0.3596, allocations: 132.6 kB / 1.124 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.361, allocations: 0.9069 MB / 1.125 GB, free: 9.969 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004392/0.3614, allocations: 0.8586 MB / 1.125 GB, free: 9.082 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002406/0.3617, allocations: 104.5 kB / 1.126 GB, free: 8.977 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.844e-05/0.3618, allocations: 35.44 kB / 1.126 GB, free: 8.941 MB / 0.8887 GB Notification: Performance of SimCode: time 4.71e-07/0.3618, allocations: 0 / 1.126 GB, free: 8.941 MB / 0.8887 GB Notification: Performance of Templates: time 0.0119/0.3737, allocations: 5.957 MB / 1.131 GB, free: 3.043 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches