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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001658/0.001658, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00219/0.00219, allocations: 199.5 kB / 16.79 MB, free: 6.809 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.421/1.421, allocations: 222.9 MB / 240.5 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.415/2.415, allocations: 390.2 MB / 0.6649 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 67.91 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6627/0.6642, allocations: 140.3 MB / 0.9496 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.004993/0.6692, allocations: 4.326 MB / 0.9538 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003166/0.6724, allocations: 2.388 MB / 0.9561 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002882/0.6727, allocations: 16.59 kB / 0.9562 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001016/0.6737, allocations: 342.5 kB / 0.9565 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007983/0.6746, allocations: 349.5 kB / 0.9568 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000739/0.6753, allocations: 302.6 kB / 0.9571 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007576/0.6761, allocations: 0.8627 MB / 0.958 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004335/0.6765, allocations: 247.7 kB / 0.9582 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002932/0.6768, allocations: 229.8 kB / 0.9584 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003086/0.6771, allocations: 272.8 kB / 0.9587 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.846e-05/0.6772, allocations: 19.88 kB / 0.9587 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008663/0.6781, allocations: 0.5338 MB / 0.9592 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001496/0.6782, allocations: 135.8 kB / 0.9593 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002083/0.6784, allocations: 227.5 kB / 0.9596 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005959/0.679, allocations: 0.5496 MB / 0.9601 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.6791, allocations: 1.031 kB / 0.9601 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6791, allocations: 3.938 kB / 0.9601 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.897e-05/0.6791, allocations: 4 kB / 0.9601 GB, free: 1.375 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.001008/0.6801, allocations: 0.7949 MB / 0.9609 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.6802, allocations: 9.5 kB / 0.9609 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001346/0.6815, allocations: 180 kB / 0.9611 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000479/0.682, allocations: 402.1 kB / 0.9614 GB, free: 264 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.682, allocations: 30.7 kB / 0.9615 GB, free: 248 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.382e-05/0.6821, allocations: 30.16 kB / 0.9615 GB, free: 240 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008889/0.683, allocations: 0.6612 MB / 0.9621 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.683, allocations: 6.375 kB / 0.9621 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.192e-05/0.6831, allocations: 17.95 kB / 0.9622 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.855e-05/0.6832, allocations: 55.14 kB / 0.9622 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007268/0.6839, allocations: 499.4 kB / 0.9627 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00317/0.6871, allocations: 3.778 MB / 0.9664 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001714/0.6888, allocations: 0.6317 MB / 0.967 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002471/0.6891, allocations: 178.6 kB / 0.9672 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.6891, allocations: 3.312 kB / 0.9672 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.6892, allocations: 44.86 kB / 0.9672 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 3.918e-06/0.6892, allocations: 3.984 kB / 0.9672 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.002348/0.6915, allocations: 1.271 MB / 0.9685 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.192e-05/0.6916, allocations: 107.1 kB / 0.9686 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004268/0.692, allocations: 400.7 kB / 0.9689 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.6921, allocations: 31.33 kB / 0.969 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001927/0.6923, allocations: 282.6 kB / 0.9692 GB, free: 9.781 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.69e-05/0.6924, allocations: 126 kB / 0.9694 GB, free: 9.672 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000153/0.6925, allocations: 101.9 kB / 0.9695 GB, free: 9.602 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.6927, allocations: 353.3 kB / 0.9698 GB, free: 9.258 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002731/0.6929, allocations: 174.9 kB / 0.97 GB, free: 9.176 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003852/0.6933, allocations: 382.2 kB / 0.9703 GB, free: 8.82 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000679/0.694, allocations: 0.5911 MB / 0.9709 GB, free: 8.348 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.694, allocations: 5.25 kB / 0.9709 GB, free: 8.344 MB / 0.7325 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001068/0.6951, allocations: 0.6727 MB / 0.9716 GB, free: 7.977 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.6951, allocations: 11.06 kB / 0.9716 GB, free: 7.973 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.6952, allocations: 6.781 kB / 0.9716 GB, free: 7.973 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003569/0.6955, allocations: 100.3 kB / 0.9717 GB, free: 7.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003884/0.6959, allocations: 107.3 kB / 0.9718 GB, free: 7.887 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003377/0.6993, allocations: 4.036 MB / 0.9757 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005153/0.6999, allocations: 30.56 kB / 0.9758 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.536e-05/0.6999, allocations: 24.81 kB / 0.9758 GB, free: 3.75 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.0003963/0.7003, allocations: 201 kB / 0.976 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001794/0.7005, allocations: 47.09 kB / 0.976 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/0.7016, allocations: 0.5179 MB / 0.9765 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.7016, allocations: 4.406 kB / 0.9765 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.7016, allocations: 2.156 kB / 0.9765 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.7016, allocations: 0 / 0.9765 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002082/0.7037, allocations: 1.292 MB / 0.9778 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.7037, allocations: 2.438 kB / 0.9778 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002664/0.704, allocations: 61.8 kB / 0.9779 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002944/0.7043, allocations: 90.64 kB / 0.9779 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.89e-05/0.7043, allocations: 8.75 kB / 0.9779 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003567/0.7079, allocations: 4.035 MB / 0.9819 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/0.7079, allocations: 6.312 kB / 0.9819 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/0.7091, allocations: 0.7756 MB / 0.9827 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002607/0.7094, allocations: 151.6 kB / 0.9828 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.324e-05/0.7095, allocations: 17.5 kB / 0.9828 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003247/0.7098, allocations: 22.62 kB / 0.9828 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.559e-05/0.7099, allocations: 30 kB / 0.9829 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.73e-05/0.71, allocations: 18.38 kB / 0.9829 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004026/0.7104, allocations: 276.5 kB / 0.9831 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of sort global known variables: time 4.6e-07/0.7104, allocations: 0 / 0.9831 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008725/0.7112, allocations: 124.2 kB / 0.9833 GB, free: 13.05 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.0001782/0.7114, allocations: 114.6 kB / 0.9834 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001522/0.713, allocations: 0.8014 MB / 0.9842 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.713, allocations: 5.5 kB / 0.9842 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008237/0.7138, allocations: 0.5422 MB / 0.9847 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.7148, allocations: 125.7 kB / 0.9848 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.7167, allocations: 1.132 MB / 0.9859 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004363/0.7171, allocations: 0.8586 MB / 0.9868 GB, free: 10.06 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.7172, allocations: 43.42 kB / 0.9868 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of SimCode: time 5.82e-07/0.7172, allocations: 0 / 0.9868 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of Templates: time 0.01392/0.7312, allocations: 11.09 MB / 0.9976 GB, free: 14.95 MB / 0.7637 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/jenkins1/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