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.005211/0.005211, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001283/0.001283, allocations: 190.5 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 15.17 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.243/2.243, allocations: 390.3 MB / 0.6648 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 63.89 kB / 0.9504 GB, free: 8.188 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6985/0.6998, allocations: 140.4 MB / 1.087 GB, free: 5.305 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.006358/0.7062, allocations: 5.542 MB / 1.093 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00407/0.7103, allocations: 2.651 MB / 1.095 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003418/0.7107, allocations: 21.22 kB / 1.095 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001789/0.7125, allocations: 0.6799 MB / 1.096 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0009156/0.7134, allocations: 406.2 kB / 1.097 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009966/0.7144, allocations: 412.2 kB / 1.097 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00109/0.7155, allocations: 0.9586 MB / 1.098 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00066/0.7162, allocations: 465.9 kB / 1.098 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004805/0.7167, allocations: 376 kB / 1.099 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005467/0.7172, allocations: 401.9 kB / 1.099 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 8.17e-05/0.7173, allocations: 51.84 kB / 1.099 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006652/0.718, allocations: 364.4 kB / 1.099 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002733/0.7183, allocations: 250.6 kB / 1.1 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003643/0.7187, allocations: 350.4 kB / 1.1 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001173/0.7198, allocations: 0.9756 MB / 1.101 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.7199, allocations: 0.6562 kB / 1.101 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.162e-06/0.7199, allocations: 0 / 1.101 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.536e-05/0.7199, allocations: 4.938 kB / 1.101 GB, free: 13.15 MB / 0.8731 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.001636/0.7215, allocations: 0.9763 MB / 1.102 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.7216, allocations: 9.156 kB / 1.102 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001256/0.7217, allocations: 97.39 kB / 1.102 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00143/0.7231, allocations: 193.9 kB / 1.102 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009011/0.724, allocations: 0.5232 MB / 1.103 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.156e-05/0.7241, allocations: 41.09 kB / 1.103 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001862/0.7243, allocations: 64.08 kB / 1.103 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.7256, allocations: 0.8316 MB / 1.104 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.41e-05/0.7256, allocations: 6.156 kB / 1.104 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.434e-05/0.7257, allocations: 27.39 kB / 1.104 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001976/0.7259, allocations: 64.8 kB / 1.104 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000891/0.7268, allocations: 0.5683 MB / 1.104 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004297/0.7311, allocations: 4.579 MB / 1.109 GB, free: 7.324 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004754/0.7316, allocations: 294 kB / 1.109 GB, free: 7.203 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003097/0.7319, allocations: 231 kB / 1.109 GB, free: 7.109 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.7319, allocations: 3.531 kB / 1.109 GB, free: 7.109 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.732, allocations: 37.97 kB / 1.109 GB, free: 7.066 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=33): time 1.784e-06/0.732, allocations: 0 / 1.109 GB, free: 7.066 MB / 0.8731 GB Notification: Performance of matching and sorting (n=40): time 0.005879/0.7379, allocations: 2.627 MB / 1.112 GB, free: 5.684 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.7379, allocations: 56.42 kB / 1.112 GB, free: 5.621 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006244/0.7386, allocations: 465.1 kB / 1.112 GB, free: 5.395 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.299e-05/0.7386, allocations: 34.89 kB / 1.112 GB, free: 5.355 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002471/0.7389, allocations: 343 kB / 1.113 GB, free: 5.078 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.739, allocations: 141.7 kB / 1.113 GB, free: 4.969 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001784/0.7392, allocations: 101 kB / 1.113 GB, free: 4.914 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.7393, allocations: 365.2 kB / 1.113 GB, free: 4.578 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004118/0.7398, allocations: 237.2 kB / 1.114 GB, free: 4.496 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006025/0.7404, allocations: 409.3 kB / 1.114 GB, free: 4.195 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009065/0.7413, allocations: 0.6732 MB / 1.115 GB, free: 3.762 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.7413, allocations: 2.188 kB / 1.115 GB, free: 3.762 MB / 0.8731 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001759/0.7431, allocations: 0.92 MB / 1.115 GB, free: 3.375 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.7431, allocations: 10.94 kB / 1.115 GB, free: 3.371 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.7431, allocations: 6.078 kB / 1.115 GB, free: 3.371 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000821/0.7439, allocations: 224.6 kB / 1.116 GB, free: 3.305 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005179/0.7445, allocations: 115 kB / 1.116 GB, free: 3.293 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005062/0.7495, allocations: 5.334 MB / 1.121 GB, free: 14.63 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000513/0.7501, allocations: 37.25 kB / 1.121 GB, free: 14.61 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.323e-05/0.7501, allocations: 23.91 kB / 1.121 GB, free: 14.61 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.0003362/0.7505, allocations: 226.1 kB / 1.121 GB, free: 14.44 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.7506, allocations: 64.2 kB / 1.121 GB, free: 14.4 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00164/0.7523, allocations: 0.7781 MB / 1.122 GB, free: 14.06 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.7523, allocations: 3.5 kB / 1.122 GB, free: 14.06 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.7523, allocations: 2.656 kB / 1.122 GB, free: 14.06 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/0.7523, allocations: 3.25 kB / 1.122 GB, free: 14.06 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002772/0.7551, allocations: 1.503 MB / 1.124 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.7551, allocations: 2.344 kB / 1.124 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003811/0.7555, allocations: 72.19 kB / 1.124 GB, free: 13.26 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000707/0.7562, allocations: 202 kB / 1.124 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.028e-05/0.7562, allocations: 9.062 kB / 1.124 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004869/0.7611, allocations: 5.268 MB / 1.129 GB, free: 8.559 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.7611, allocations: 2.047 kB / 1.129 GB, free: 8.559 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001776/0.7629, allocations: 1.14 MB / 1.13 GB, free: 7.969 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003152/0.7633, allocations: 179.8 kB / 1.13 GB, free: 7.82 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.7634, allocations: 10.14 kB / 1.13 GB, free: 7.816 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003555/0.7637, allocations: 27.11 kB / 1.13 GB, free: 7.809 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.486e-05/0.7638, allocations: 36.89 kB / 1.13 GB, free: 7.801 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.162e-05/0.7639, allocations: 12.5 kB / 1.13 GB, free: 7.797 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003678/0.7642, allocations: 315.9 kB / 1.131 GB, free: 7.648 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7643, allocations: 4.062 kB / 1.131 GB, free: 7.645 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0007592/0.765, allocations: 166.9 kB / 1.131 GB, free: 7.629 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.002047/0.7671, allocations: 1.683 MB / 1.132 GB, free: 6.512 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001696/0.7688, allocations: 1.02 MB / 1.133 GB, free: 5.918 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.7688, allocations: 5.188 kB / 1.133 GB, free: 5.914 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009792/0.7698, allocations: 0.6735 MB / 1.134 GB, free: 5.461 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000931/0.7707, allocations: 186.6 kB / 1.134 GB, free: 5.395 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008291/0.779, allocations: 5.64 MB / 1.14 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006018/0.7797, allocations: 0.9488 MB / 1.141 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.000407/0.7801, allocations: 112.4 kB / 1.141 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002709/0.7804, allocations: 211.1 kB / 1.141 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of SimCode: time 5.91e-07/0.7804, allocations: 0 / 1.141 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0615/0.8419, allocations: 14.2 MB / 1.155 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/11.25, allocations: 12.59 kB / 1.155 GB, free: 13.28 MB / 0.9044 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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