Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00602/0.00602, allocations: 103 kB / 15.73 MB, free: 6.035 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.001212/0.001213, allocations: 190 kB / 16.67 MB, free: 5.965 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.322/2.322, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 62.66 kB / 0.9504 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2564, allocations: 140.4 MB / 1.087 GB, free: 2 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.006474/0.2629, allocations: 5.528 MB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003896/0.2668, allocations: 2.646 MB / 1.095 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004498/0.2673, allocations: 23.88 kB / 1.095 GB, free: 9.766 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001666/0.269, allocations: 0.6863 MB / 1.096 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0008727/0.2699, allocations: 409.7 kB / 1.097 GB, free: 8.676 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008517/0.2707, allocations: 412.7 kB / 1.097 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008218/0.2716, allocations: 0.9552 MB / 1.098 GB, free: 7.312 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005285/0.2721, allocations: 469.3 kB / 1.098 GB, free: 6.855 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003652/0.2725, allocations: 378.6 kB / 1.099 GB, free: 6.484 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004271/0.2729, allocations: 410.3 kB / 1.099 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.534e-05/0.273, allocations: 48 kB / 1.099 GB, free: 6.035 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004726/0.2735, allocations: 359.3 kB / 1.099 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001914/0.2737, allocations: 243.3 kB / 1.1 GB, free: 5.445 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002582/0.2739, allocations: 350.2 kB / 1.1 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008154/0.2748, allocations: 0.9781 MB / 1.101 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2748, allocations: 3.984 kB / 1.101 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2748, allocations: 4 kB / 1.101 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.438e-05/0.2748, allocations: 0 / 1.101 GB, free: 4.113 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001305/0.2761, allocations: 0.9697 MB / 1.102 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.2762, allocations: 12.03 kB / 1.102 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.136e-05/0.2763, allocations: 106.7 kB / 1.102 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001226/0.2775, allocations: 191.9 kB / 1.102 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008423/0.2783, allocations: 0.5218 MB / 1.103 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.661e-05/0.2784, allocations: 41.36 kB / 1.103 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/0.2785, allocations: 60.45 kB / 1.103 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.2798, allocations: 0.8316 MB / 1.104 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.2798, allocations: 3.938 kB / 1.104 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.249e-05/0.2799, allocations: 23.98 kB / 1.104 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001685/0.28, allocations: 64.95 kB / 1.104 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008218/0.2809, allocations: 0.5697 MB / 1.104 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004065/0.2849, allocations: 4.569 MB / 1.109 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004389/0.2854, allocations: 303.1 kB / 1.109 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003161/0.2857, allocations: 225.3 kB / 1.109 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.2858, allocations: 4.281 kB / 1.109 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.2858, allocations: 38.83 kB / 1.109 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=33): time 1.893e-06/0.2858, allocations: 4 kB / 1.109 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of matching and sorting (n=40): time 0.00549/0.2913, allocations: 2.638 MB / 1.112 GB, free: 8.277 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.2913, allocations: 55.41 kB / 1.112 GB, free: 8.211 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004438/0.2918, allocations: 462 kB / 1.112 GB, free: 7.746 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.04e-05/0.2918, allocations: 37.7 kB / 1.112 GB, free: 7.703 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002353/0.2921, allocations: 343.6 kB / 1.113 GB, free: 7.359 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.2922, allocations: 142 kB / 1.113 GB, free: 7.219 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001591/0.2924, allocations: 110.2 kB / 1.113 GB, free: 7.105 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.2925, allocations: 358.8 kB / 1.113 GB, free: 6.746 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003258/0.2929, allocations: 237 kB / 1.114 GB, free: 6.516 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004452/0.2933, allocations: 407.8 kB / 1.114 GB, free: 6.039 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008528/0.2942, allocations: 0.674 MB / 1.115 GB, free: 5.293 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.2942, allocations: 4 kB / 1.115 GB, free: 5.289 MB / 0.8731 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001644/0.2958, allocations: 0.9286 MB / 1.116 GB, free: 4.344 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.2959, allocations: 5.562 kB / 1.116 GB, free: 4.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.2959, allocations: 8 kB / 1.116 GB, free: 4.332 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007774/0.2967, allocations: 230.9 kB / 1.116 GB, free: 4.098 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004922/0.2972, allocations: 107.9 kB / 1.116 GB, free: 3.992 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006067/0.3032, allocations: 5.339 MB / 1.121 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000548/0.3038, allocations: 31.98 kB / 1.121 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.254e-05/0.3039, allocations: 23.98 kB / 1.121 GB, free: 14.18 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * 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 {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003914/0.3043, allocations: 225.7 kB / 1.121 GB, free: 13.95 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.566e-05/0.3044, allocations: 63.33 kB / 1.121 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001426/0.3058, allocations: 0.7812 MB / 1.122 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.3058, allocations: 4 kB / 1.122 GB, free: 13.08 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.3058, allocations: 0 / 1.122 GB, free: 13.08 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.3058, allocations: 3.984 kB / 1.122 GB, free: 13.08 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002461/0.3083, allocations: 1.501 MB / 1.124 GB, free: 11.49 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.3083, allocations: 0 / 1.124 GB, free: 11.49 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003583/0.3087, allocations: 67.89 kB / 1.124 GB, free: 11.42 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006607/0.3094, allocations: 206.6 kB / 1.124 GB, free: 11.21 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.117e-05/0.3094, allocations: 12 kB / 1.124 GB, free: 11.2 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004655/0.3141, allocations: 5.269 MB / 1.129 GB, free: 5.512 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.165e-06/0.3141, allocations: 3.984 kB / 1.129 GB, free: 5.508 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001574/0.3157, allocations: 1.135 MB / 1.13 GB, free: 4.324 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000243/0.3159, allocations: 176.2 kB / 1.13 GB, free: 4.133 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.583e-05/0.316, allocations: 8 kB / 1.13 GB, free: 4.125 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002969/0.3163, allocations: 27.97 kB / 1.13 GB, free: 4.098 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.536e-05/0.3164, allocations: 39.83 kB / 1.13 GB, free: 4.059 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.48e-05/0.3164, allocations: 12 kB / 1.13 GB, free: 4.047 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002943/0.3167, allocations: 322.9 kB / 1.131 GB, free: 3.734 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.5e-07/0.3167, allocations: 0 / 1.131 GB, free: 3.734 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005969/0.3173, allocations: 168 kB / 1.131 GB, free: 3.57 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001813/0.3191, allocations: 1.692 MB / 1.133 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001453/0.3206, allocations: 1.009 MB / 1.134 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.3206, allocations: 0 / 1.134 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008364/0.3214, allocations: 0.6799 MB / 1.134 GB, free: 52 kB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008229/0.3223, allocations: 194.6 kB / 1.134 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006772/0.3291, allocations: 5.627 MB / 1.14 GB, free: 9.957 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004758/0.3296, allocations: 0.9455 MB / 1.141 GB, free: 8.98 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002818/0.3298, allocations: 121 kB / 1.141 GB, free: 8.863 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000228/0.3301, allocations: 215.4 kB / 1.141 GB, free: 8.656 MB / 0.9044 GB Notification: Performance of SimCode: time 3.71e-07/0.3301, allocations: 0 / 1.141 GB, free: 8.656 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08535/0.4154, allocations: 14.45 MB / 1.155 GB, free: 10.48 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.49, allocations: 18.8 kB / 1.155 GB, free: 10.46 MB / 0.92 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches