Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.001487/0.001487, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001768/0.001768, allocations: 193.8 kB / 16.25 MB, free: 6.629 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.405/1.405, allocations: 222.9 MB / 239.9 MB, free: 4.508 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.418/2.418, allocations: 390.2 MB / 0.6644 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 63.91 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6759/0.6772, allocations: 140.4 MB / 0.9492 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01496/0.6922, allocations: 13.96 MB / 0.9629 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01536/0.7076, allocations: 9.318 MB / 0.972 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001866/0.7095, allocations: 54.69 kB / 0.972 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004547/0.7141, allocations: 1.564 MB / 0.9736 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005507/0.7197, allocations: 1.399 MB / 0.9749 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002355/0.722, allocations: 0.7072 MB / 0.9756 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004354/0.7264, allocations: 2.508 MB / 0.9781 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002893/0.7293, allocations: 1.59 MB / 0.9796 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002153/0.7315, allocations: 1.057 MB / 0.9806 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002289/0.7338, allocations: 1.184 MB / 0.9818 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0006884/0.7345, allocations: 166.8 kB / 0.982 GB, free: 464 kB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002225/0.7367, allocations: 0.7878 MB / 0.9827 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001058/0.7378, allocations: 0.6153 MB / 0.9833 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001812/0.7396, allocations: 0.9407 MB / 0.9842 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.003861/0.7435, allocations: 2.78 MB / 0.987 GB, free: 11.31 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/0.7435, allocations: 0 / 0.987 GB, free: 11.31 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.665e-06/0.7435, allocations: 3.938 kB / 0.987 GB, free: 11.31 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 6.373e-05/0.7436, allocations: 0 / 0.987 GB, free: 11.31 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.005123/0.7487, allocations: 2.139 MB / 0.9891 GB, free: 9.113 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.7488, allocations: 15.97 kB / 0.9891 GB, free: 9.098 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003798/0.7492, allocations: 194.4 kB / 0.9893 GB, free: 8.898 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01158/0.7608, allocations: 2.081 MB / 0.9913 GB, free: 6.812 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003021/0.7638, allocations: 1.197 MB / 0.9925 GB, free: 5.559 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/0.7639, allocations: 86.73 kB / 0.9925 GB, free: 5.473 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005169/0.7645, allocations: 119.9 kB / 0.9927 GB, free: 5.355 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006566/0.771, allocations: 2.682 MB / 0.9953 GB, free: 2.523 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.387e-05/0.7711, allocations: 11.84 kB / 0.9953 GB, free: 2.512 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002078/0.7713, allocations: 63.91 kB / 0.9953 GB, free: 2.449 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006202/0.772, allocations: 178.1 kB / 0.9955 GB, free: 2.273 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00771/0.7797, allocations: 2.799 MB / 0.9983 GB, free: 15.46 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01647/0.7962, allocations: 10.51 MB / 1.009 GB, free: 4.367 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006938/0.8032, allocations: 2.526 MB / 1.011 GB, free: 1.777 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00315/0.8063, allocations: 1.284 MB / 1.012 GB, free: 500 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 8.242e-05/0.8064, allocations: 9 kB / 1.012 GB, free: 492 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/0.8065, allocations: 47.56 kB / 1.012 GB, free: 436 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=89): time 4.138e-06/0.8065, allocations: 0 / 1.012 GB, free: 436 kB / 0.7637 GB Notification: Performance of matching and sorting (n=131): time 0.04573/0.8522, allocations: 13.34 MB / 1.025 GB, free: 2.867 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/0.8523, allocations: 64.72 kB / 1.025 GB, free: 2.789 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001648/0.854, allocations: 1.121 MB / 1.026 GB, free: 1.652 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001566/0.8541, allocations: 49.7 kB / 1.027 GB, free: 1.598 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005273/0.8547, allocations: 0.7155 MB / 1.027 GB, free: 0.875 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004411/0.8551, allocations: 449.5 kB / 1.028 GB, free: 440 kB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005546/0.8557, allocations: 263.4 kB / 1.028 GB, free: 172 kB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.8559, allocations: 357.9 kB / 1.028 GB, free: 15.81 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003284/0.8592, allocations: 1.339 MB / 1.03 GB, free: 14.47 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003457/0.8626, allocations: 1.612 MB / 1.031 GB, free: 12.77 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006646/0.8693, allocations: 2.987 MB / 1.034 GB, free: 9.684 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.8693, allocations: 0 / 1.034 GB, free: 9.684 MB / 0.795 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01169/0.881, allocations: 4.442 MB / 1.038 GB, free: 5.188 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.374e-05/0.8811, allocations: 8 kB / 1.038 GB, free: 5.18 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.8811, allocations: 8.875 kB / 1.038 GB, free: 5.172 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005458/0.8866, allocations: 1.447 MB / 1.04 GB, free: 3.684 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002128/0.8887, allocations: 435.2 kB / 1.04 GB, free: 3.258 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02906/0.9178, allocations: 26.7 MB / 1.066 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002785/0.9206, allocations: 311.5 kB / 1.067 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003618/0.921, allocations: 59.97 kB / 1.067 GB, free: 6.355 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001164/0.9222, allocations: 442 kB / 1.067 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004809/0.9227, allocations: 162.1 kB / 1.067 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01217/0.9349, allocations: 4.461 MB / 1.072 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.802e-05/0.9349, allocations: 12 kB / 1.072 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.78e-05/0.935, allocations: 12 kB / 1.072 GB, free: 1.215 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.728e-05/0.935, allocations: 3.984 kB / 1.072 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01586/0.9509, allocations: 6.786 MB / 1.078 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/0.9509, allocations: 4 kB / 1.078 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001822/0.9527, allocations: 383.3 kB / 1.079 GB, free: 9.879 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004842/0.9576, allocations: 1.318 MB / 1.08 GB, free: 8.52 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001512/0.9578, allocations: 43.97 kB / 1.08 GB, free: 8.477 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02643/0.9842, allocations: 25.5 MB / 1.105 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/0.9842, allocations: 7.969 kB / 1.105 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01104/0.9953, allocations: 4.2 MB / 1.109 GB, free: 8.844 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009777/0.9963, allocations: 455 kB / 1.109 GB, free: 8.379 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003911/0.9967, allocations: 24 kB / 1.109 GB, free: 8.355 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002221/0.9989, allocations: 308 kB / 1.11 GB, free: 8.055 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004841/0.9994, allocations: 132.6 kB / 1.11 GB, free: 7.922 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001447/0.9996, allocations: 47.97 kB / 1.11 GB, free: 7.875 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001208/1.001, allocations: 0.7565 MB / 1.111 GB, free: 7.117 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.31e-07/1.001, allocations: 0 / 1.111 GB, free: 7.117 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002315/1.003, allocations: 0.5703 MB / 1.111 GB, free: 6.547 MB / 0.8731 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01104/1.014, allocations: 4.791 MB / 1.116 GB, free: 1.648 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01529/1.03, allocations: 5.521 MB / 1.121 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/1.03, allocations: 0 / 1.121 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.01114/1.041, allocations: 3.491 MB / 1.125 GB, free: 8.297 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004253/1.045, allocations: 0.5441 MB / 1.125 GB, free: 7.773 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0462/1.091, allocations: 20.92 MB / 1.146 GB, free: 2.16 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00145/1.093, allocations: 1.477 MB / 1.147 GB, free: 0.6523 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.002026/1.095, allocations: 429.6 kB / 1.147 GB, free: 232 kB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009647/1.096, allocations: 0.6243 MB / 1.148 GB, free: 15.6 MB / 0.92 GB Notification: Performance of SimCode: time 6.01e-07/1.096, allocations: 4 kB / 1.148 GB, free: 15.59 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1801/1.276, allocations: 51.43 MB / 1.198 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000298/1.276, allocations: 241 kB / 1.199 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.239/4.516, allocations: 1.75 kB / 1.199 GB, free: 12.57 MB / 0.9669 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches