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.001486/0.001486, allocations: 105.5 kB / 15.98 MB, free: 6.309 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.001524/0.001524, allocations: 197 kB / 16.91 MB, free: 6.152 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.356/1.356, allocations: 222.9 MB / 240.6 MB, free: 13.67 MB / 206.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.228/2.228, allocations: 390.3 MB / 0.665 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 61.95 kB / 0.8127 GB, free: 32.54 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2587, allocations: 140.4 MB / 0.9498 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005567/0.2643, allocations: 4.332 MB / 0.954 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003892/0.2682, allocations: 2.342 MB / 0.9563 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004885/0.2687, allocations: 19.88 kB / 0.9563 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001337/0.2701, allocations: 358.5 kB / 0.9567 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001026/0.2711, allocations: 338.5 kB / 0.957 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008558/0.272, allocations: 295.1 kB / 0.9573 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0008996/0.2729, allocations: 0.6827 MB / 0.9579 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00056/0.2735, allocations: 286 kB / 0.9582 GB, free: 0.5664 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004066/0.2739, allocations: 258.9 kB / 0.9584 GB, free: 320 kB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004079/0.2743, allocations: 274.9 kB / 0.9587 GB, free: 44 kB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.19e-05/0.2744, allocations: 28 kB / 0.9587 GB, free: 16 kB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007238/0.2751, allocations: 443 kB / 0.9592 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001646/0.2753, allocations: 139.6 kB / 0.9593 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002443/0.2755, allocations: 234.7 kB / 0.9595 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0007975/0.2763, allocations: 0.5614 MB / 0.9601 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2764, allocations: 0 / 0.9601 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2764, allocations: 0 / 0.9601 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.365e-05/0.2764, allocations: 0 / 0.9601 GB, free: 14.65 MB / 0.7481 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.001341/0.2777, allocations: 0.787 MB / 0.9608 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.2778, allocations: 8.031 kB / 0.9608 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00142/0.2792, allocations: 184.1 kB / 0.961 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005737/0.2798, allocations: 404.5 kB / 0.9614 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.563e-05/0.2798, allocations: 33.3 kB / 0.9614 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.874e-05/0.2799, allocations: 32.38 kB / 0.9615 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009054/0.2808, allocations: 0.6471 MB / 0.9621 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.2809, allocations: 7.938 kB / 0.9621 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.914e-05/0.2809, allocations: 19.98 kB / 0.9621 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.576e-05/0.281, allocations: 51.97 kB / 0.9622 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007996/0.2818, allocations: 0.4915 MB / 0.9627 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00375/0.2856, allocations: 3.79 MB / 0.9664 GB, free: 7.77 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001718/0.2873, allocations: 0.6322 MB / 0.967 GB, free: 7.109 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002396/0.2876, allocations: 182.4 kB / 0.9671 GB, free: 6.922 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.2876, allocations: 0 / 0.9671 GB, free: 6.922 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.2876, allocations: 38.5 kB / 0.9672 GB, free: 6.875 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=30): time 1.713e-06/0.2877, allocations: 4 kB / 0.9672 GB, free: 6.871 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33): time 0.002362/0.29, allocations: 1.272 MB / 0.9684 GB, free: 5.523 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.849e-05/0.2901, allocations: 112.5 kB / 0.9685 GB, free: 5.391 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004344/0.2905, allocations: 397.8 kB / 0.9689 GB, free: 4.996 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/0.2906, allocations: 37.69 kB / 0.969 GB, free: 4.953 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001947/0.2908, allocations: 283.4 kB / 0.9692 GB, free: 4.672 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.2909, allocations: 118.4 kB / 0.9693 GB, free: 4.555 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001436/0.291, allocations: 98.06 kB / 0.9694 GB, free: 4.449 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.2912, allocations: 354.8 kB / 0.9698 GB, free: 4.094 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002498/0.2915, allocations: 177 kB / 0.9699 GB, free: 3.922 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004002/0.2919, allocations: 375.3 kB / 0.9703 GB, free: 3.465 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007899/0.2927, allocations: 0.591 MB / 0.9709 GB, free: 2.781 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.147e-05/0.2927, allocations: 7.938 kB / 0.9709 GB, free: 2.773 MB / 0.7481 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00112/0.2938, allocations: 0.6747 MB / 0.9715 GB, free: 2.082 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.2938, allocations: 8 kB / 0.9715 GB, free: 2.074 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.2939, allocations: 12 kB / 0.9716 GB, free: 2.062 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003798/0.2942, allocations: 99.03 kB / 0.9717 GB, free: 1.957 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003979/0.2947, allocations: 111.8 kB / 0.9718 GB, free: 1.848 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003563/0.2982, allocations: 4.34 MB / 0.976 GB, free: 13.09 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003699/0.2986, allocations: 27.97 kB / 0.976 GB, free: 13.06 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.235e-05/0.2987, allocations: 27.94 kB / 0.976 GB, free: 13.03 MB / 0.7637 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.0002521/0.2989, allocations: 201.7 kB / 0.9762 GB, free: 12.82 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.2991, allocations: 47.42 kB / 0.9763 GB, free: 12.78 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009287/0.3, allocations: 0.5146 MB / 0.9768 GB, free: 12.24 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.3, allocations: 8 kB / 0.9768 GB, free: 12.23 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3, allocations: 4 kB / 0.9768 GB, free: 12.23 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.3, allocations: 3.984 kB / 0.9768 GB, free: 12.22 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001822/0.3019, allocations: 1.287 MB / 0.9781 GB, free: 10.84 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.3019, allocations: 4 kB / 0.9781 GB, free: 10.84 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000241/0.3021, allocations: 63.89 kB / 0.9781 GB, free: 10.77 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002749/0.3024, allocations: 90.78 kB / 0.9782 GB, free: 10.68 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.908e-05/0.3025, allocations: 8 kB / 0.9782 GB, free: 10.67 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003302/0.3058, allocations: 4.332 MB / 0.9825 GB, free: 5.918 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.3058, allocations: 0 / 0.9825 GB, free: 5.918 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.3068, allocations: 0.786 MB / 0.9832 GB, free: 5.074 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000238/0.3071, allocations: 156.5 kB / 0.9834 GB, free: 4.902 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.2e-05/0.3071, allocations: 11.91 kB / 0.9834 GB, free: 4.891 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003259/0.3075, allocations: 23.97 kB / 0.9834 GB, free: 4.867 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.931e-05/0.3076, allocations: 44.11 kB / 0.9834 GB, free: 4.824 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/0.3076, allocations: 15.98 kB / 0.9835 GB, free: 4.809 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0003407/0.3079, allocations: 279.1 kB / 0.9837 GB, free: 4.539 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3079, allocations: 3.938 kB / 0.9837 GB, free: 4.535 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0007153/0.3087, allocations: 120 kB / 0.9838 GB, free: 4.418 MB / 0.7637 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.0001622/0.3088, allocations: 111.2 kB / 0.9839 GB, free: 4.301 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001324/0.3102, allocations: 0.8266 MB / 0.9848 GB, free: 3.438 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.3102, allocations: 0 / 0.9848 GB, free: 3.438 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0007026/0.3109, allocations: 0.5436 MB / 0.9853 GB, free: 2.855 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009136/0.3118, allocations: 139 kB / 0.9854 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.3134, allocations: 1.128 MB / 0.9865 GB, free: 1.535 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004479/0.3139, allocations: 0.8625 MB / 0.9874 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/0.314, allocations: 43.38 kB / 0.9874 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of SimCode: time 2.91e-07/0.314, allocations: 0 / 0.9874 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of Templates: time 0.01428/0.3283, allocations: 11.08 MB / 0.9982 GB, free: 5.531 MB / 0.7794 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