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.001637/0.001637, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002048/0.002048, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.475/1.475, allocations: 222.9 MB / 239.9 MB, free: 4.566 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.536/2.536, allocations: 390.2 MB / 0.6643 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 67.89 kB / 0.812 GB, free: 14.83 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7987/0.8001, allocations: 140.4 MB / 0.9491 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005027/0.8052, allocations: 4.314 MB / 0.9533 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003226/0.8084, allocations: 2.349 MB / 0.9556 GB, free: 4 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002467/0.8087, allocations: 17.19 kB / 0.9556 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001007/0.8098, allocations: 353.5 kB / 0.956 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007383/0.8105, allocations: 334.3 kB / 0.9563 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007123/0.8112, allocations: 300.5 kB / 0.9566 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005748/0.8118, allocations: 0.6819 MB / 0.9572 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004509/0.8123, allocations: 294.3 kB / 0.9575 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002905/0.8126, allocations: 256.5 kB / 0.9578 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003247/0.8129, allocations: 275.8 kB / 0.958 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.572e-05/0.813, allocations: 29.81 kB / 0.9581 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006965/0.8137, allocations: 426.8 kB / 0.9585 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001477/0.8138, allocations: 145 kB / 0.9586 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002273/0.8141, allocations: 242.6 kB / 0.9588 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008655/0.8149, allocations: 0.749 MB / 0.9596 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.815, allocations: 4 kB / 0.9596 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.357e-06/0.815, allocations: 3.984 kB / 0.9596 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.949e-06/0.815, allocations: 4.812 kB / 0.9596 GB, free: 1.434 MB / 0.7169 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.001091/0.8161, allocations: 0.787 MB / 0.9603 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.8161, allocations: 9.281 kB / 0.9604 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001386/0.8175, allocations: 183.1 kB / 0.9605 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004753/0.818, allocations: 411.5 kB / 0.9609 GB, free: 320 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.753e-05/0.8181, allocations: 26.14 kB / 0.9609 GB, free: 308 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.629e-05/0.8181, allocations: 30.31 kB / 0.961 GB, free: 300 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009272/0.8191, allocations: 0.6564 MB / 0.9616 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.8191, allocations: 6.969 kB / 0.9616 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.755e-05/0.8191, allocations: 16.92 kB / 0.9616 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.936e-05/0.8192, allocations: 52.5 kB / 0.9617 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007599/0.82, allocations: 0.4955 MB / 0.9622 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00324/0.8233, allocations: 3.785 MB / 0.9659 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00177/0.825, allocations: 0.6326 MB / 0.9665 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002689/0.8253, allocations: 177.6 kB / 0.9667 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.8254, allocations: 4.062 kB / 0.9667 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.8254, allocations: 40.53 kB / 0.9667 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 2.364e-06/0.8254, allocations: 3.938 kB / 0.9667 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.002381/0.8278, allocations: 1.274 MB / 0.968 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.877e-05/0.8279, allocations: 107.1 kB / 0.9681 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004168/0.8283, allocations: 400.8 kB / 0.9684 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.288e-05/0.8283, allocations: 30.89 kB / 0.9685 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.8285, allocations: 291.1 kB / 0.9687 GB, free: 9.824 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.833e-05/0.8286, allocations: 115.6 kB / 0.9689 GB, free: 9.727 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/0.8288, allocations: 106.3 kB / 0.969 GB, free: 9.652 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.8289, allocations: 348.5 kB / 0.9693 GB, free: 9.312 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002661/0.8292, allocations: 175.7 kB / 0.9695 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003932/0.8296, allocations: 382.6 kB / 0.9698 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006811/0.8303, allocations: 0.5818 MB / 0.9704 GB, free: 8.41 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.8303, allocations: 6.594 kB / 0.9704 GB, free: 8.406 MB / 0.7325 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001117/0.8314, allocations: 0.6722 MB / 0.971 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.8314, allocations: 7.969 kB / 0.9711 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.8315, allocations: 6.375 kB / 0.9711 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003591/0.8318, allocations: 96.17 kB / 0.9712 GB, free: 7.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004067/0.8322, allocations: 110.9 kB / 0.9713 GB, free: 7.953 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00342/0.8357, allocations: 4.347 MB / 0.9755 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004014/0.8361, allocations: 29.94 kB / 0.9755 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.525e-05/0.8361, allocations: 24.59 kB / 0.9756 GB, free: 3.508 MB / 0.7325 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.0002733/0.8364, allocations: 199.1 kB / 0.9757 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.8366, allocations: 51.62 kB / 0.9758 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009473/0.8375, allocations: 0.5174 MB / 0.9763 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.8375, allocations: 8.781 kB / 0.9763 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.8375, allocations: 1.156 kB / 0.9763 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.8376, allocations: 4.891 kB / 0.9763 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001907/0.8395, allocations: 1.287 MB / 0.9776 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.8395, allocations: 2.281 kB / 0.9776 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002472/0.8397, allocations: 61.08 kB / 0.9776 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002878/0.84, allocations: 91.62 kB / 0.9777 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.147e-05/0.8401, allocations: 7.844 kB / 0.9777 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003318/0.8434, allocations: 4.338 MB / 0.982 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.8434, allocations: 2.969 kB / 0.982 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009541/0.8444, allocations: 0.7799 MB / 0.9827 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002111/0.8446, allocations: 152.4 kB / 0.9829 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.598e-05/0.8447, allocations: 12.91 kB / 0.9829 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003325/0.845, allocations: 26.78 kB / 0.9829 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.621e-05/0.8451, allocations: 34.28 kB / 0.9829 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-05/0.8452, allocations: 14.16 kB / 0.983 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003632/0.8455, allocations: 284.5 kB / 0.9832 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8455, allocations: 0 / 0.9832 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000759/0.8463, allocations: 125.2 kB / 0.9833 GB, free: 12.49 MB / 0.7481 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.0001545/0.8465, allocations: 106.8 kB / 0.9835 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001386/0.8478, allocations: 0.8238 MB / 0.9843 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.8479, allocations: 256 / 0.9843 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007722/0.8486, allocations: 0.546 MB / 0.9848 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009983/0.8497, allocations: 136.2 kB / 0.9849 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.8516, allocations: 1.105 MB / 0.986 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005983/0.8522, allocations: 0.8586 MB / 0.9868 GB, free: 9.438 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000348/0.8526, allocations: 104.5 kB / 0.9869 GB, free: 9.332 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.918e-05/0.8527, allocations: 39.44 kB / 0.987 GB, free: 9.293 MB / 0.7481 GB Notification: Performance of SimCode: time 8.32e-07/0.8527, allocations: 0 / 0.987 GB, free: 9.293 MB / 0.7481 GB Notification: Performance of Templates: time 0.0121/0.8648, allocations: 5.775 MB / 0.9926 GB, free: 3.574 MB / 0.7481 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