Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",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.001205/0.001209, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001282/0.001282, allocations: 193 kB / 16.14 MB, free: 6.711 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.251/1.251, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.459/2.459, allocations: 461.9 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 61.42 kB / 0.8985 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2535, allocations: 157.4 MB / 1.052 GB, free: 8.18 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02152/0.275, allocations: 20.11 MB / 1.072 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0101/0.2852, allocations: 6.438 MB / 1.078 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001474/0.2867, allocations: 75.56 kB / 1.078 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.004848/0.2916, allocations: 2.092 MB / 1.08 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002691/0.2943, allocations: 1.108 MB / 1.081 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002901/0.2972, allocations: 1.164 MB / 1.082 GB, free: 9.094 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.007058/0.3043, allocations: 6.972 MB / 1.089 GB, free: 2.105 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009365/0.3136, allocations: 6.169 MB / 1.095 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003588/0.3173, allocations: 1.779 MB / 1.097 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004207/0.3215, allocations: 2.387 MB / 1.099 GB, free: 7.691 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001091/0.3226, allocations: 292 kB / 1.1 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002692/0.3253, allocations: 1.034 MB / 1.101 GB, free: 6.371 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.002527/0.3278, allocations: 1.532 MB / 1.102 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.003614/0.3315, allocations: 1.762 MB / 1.104 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.006267/0.3377, allocations: 6.411 MB / 1.11 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 9.959e-06/0.3378, allocations: 7.984 kB / 1.11 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3378, allocations: 0 / 1.11 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001257/0.3379, allocations: 0 / 1.11 GB, free: 12.63 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.006192/0.3441, allocations: 3.448 MB / 1.114 GB, free: 9.117 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.3442, allocations: 11.97 kB / 1.114 GB, free: 9.105 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000553/0.3447, allocations: 458.5 kB / 1.114 GB, free: 8.645 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003159/0.3479, allocations: 0.6371 MB / 1.115 GB, free: 8.004 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003091/0.351, allocations: 1.94 MB / 1.116 GB, free: 6.004 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001971/0.3512, allocations: 222.3 kB / 1.117 GB, free: 5.785 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003919/0.3516, allocations: 300 kB / 1.117 GB, free: 5.492 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007103/0.3587, allocations: 4.882 MB / 1.122 GB, free: 420 kB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.531e-05/0.3588, allocations: 15.84 kB / 1.122 GB, free: 404 kB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002717/0.3591, allocations: 124 kB / 1.122 GB, free: 280 kB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003991/0.3595, allocations: 233.7 kB / 1.122 GB, free: 44 kB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005565/0.3651, allocations: 3.75 MB / 1.126 GB, free: 12.28 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02113/0.3862, allocations: 21.56 MB / 1.147 GB, free: 4.723 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001712/0.388, allocations: 1.309 MB / 1.148 GB, free: 3.398 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001353/0.3893, allocations: 1.053 MB / 1.149 GB, free: 2.348 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 6.14e-05/0.3894, allocations: 9 kB / 1.149 GB, free: 2.34 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/0.3894, allocations: 51.56 kB / 1.149 GB, free: 2.281 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=107): time 3.096e-06/0.3895, allocations: 0 / 1.149 GB, free: 2.281 MB / 0.9044 GB Notification: Performance of matching and sorting (n=138): time 0.02268/0.4121, allocations: 8.649 MB / 1.158 GB, free: 9.57 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.4122, allocations: 64.72 kB / 1.158 GB, free: 9.496 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001568/0.4138, allocations: 1.126 MB / 1.159 GB, free: 8.363 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.399e-05/0.4139, allocations: 49.7 kB / 1.159 GB, free: 8.309 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008006/0.4147, allocations: 1.304 MB / 1.16 GB, free: 6.988 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003946/0.4151, allocations: 481.1 kB / 1.161 GB, free: 6.512 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004532/0.4156, allocations: 287.3 kB / 1.161 GB, free: 6.227 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.517e-05/0.4157, allocations: 309.1 kB / 1.161 GB, free: 5.922 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001271/0.417, allocations: 0.9135 MB / 1.162 GB, free: 5.008 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001556/0.4185, allocations: 1.334 MB / 1.163 GB, free: 3.504 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002932/0.4215, allocations: 2.422 MB / 1.166 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/0.4215, allocations: 4 kB / 1.166 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005972/0.4275, allocations: 3.46 MB / 1.169 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.052e-05/0.4275, allocations: 12 kB / 1.169 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.118e-05/0.4275, allocations: 15.94 kB / 1.169 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003273/0.4308, allocations: 1.185 MB / 1.17 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000888/0.4317, allocations: 255.6 kB / 1.171 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01605/0.4478, allocations: 12.73 MB / 1.183 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/0.4491, allocations: 91.97 kB / 1.183 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002169/0.4493, allocations: 63.98 kB / 1.183 GB, free: 14.68 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * 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 {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001829/0.4511, allocations: 1.115 MB / 1.184 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003497/0.4515, allocations: 162.1 kB / 1.184 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005617/0.4571, allocations: 3.165 MB / 1.187 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.4571, allocations: 12 kB / 1.187 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.842e-05/0.4572, allocations: 12 kB / 1.187 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.243e-05/0.4572, allocations: 15.91 kB / 1.187 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01031/0.4675, allocations: 6.248 MB / 1.194 GB, free: 3.781 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.099e-05/0.4676, allocations: 4 kB / 1.194 GB, free: 3.777 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000566/0.4681, allocations: 147.8 kB / 1.194 GB, free: 3.633 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002898/0.471, allocations: 1.073 MB / 1.195 GB, free: 2.555 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001014/0.4712, allocations: 28 kB / 1.195 GB, free: 2.527 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01549/0.4867, allocations: 12.41 MB / 1.207 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.695e-06/0.4867, allocations: 7.938 kB / 1.207 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005397/0.4921, allocations: 3.154 MB / 1.21 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000814/0.4929, allocations: 427.1 kB / 1.21 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000314/0.4933, allocations: 27.91 kB / 1.21 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008531/0.4941, allocations: 91.77 kB / 1.211 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003438/0.4945, allocations: 124.7 kB / 1.211 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.908e-05/0.4946, allocations: 39.94 kB / 1.211 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.00117/0.4958, allocations: 0.771 MB / 1.211 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.81e-07/0.4958, allocations: 0 / 1.211 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002033/0.4978, allocations: 0.6562 MB / 1.212 GB, free: 336 kB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * 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 {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005437/0.5033, allocations: 3.748 MB / 1.216 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.004721/0.508, allocations: 3.124 MB / 1.219 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.665e-06/0.508, allocations: 4 kB / 1.219 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002867/0.5109, allocations: 1.943 MB / 1.221 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00219/0.5131, allocations: 473.9 kB / 1.221 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03314/0.5463, allocations: 21.38 MB / 1.242 GB, free: 0.6758 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003236/0.5495, allocations: 2.332 MB / 1.244 GB, free: 14.3 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001201/0.5507, allocations: 350.1 kB / 1.245 GB, free: 13.96 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001252/0.552, allocations: 1.015 MB / 1.246 GB, free: 12.94 MB / 1.014 GB Notification: Performance of SimCode: time 7.11e-07/0.552, allocations: 4 kB / 1.246 GB, free: 12.94 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4808/1.033, allocations: 50.24 MB / 1.295 GB, free: 181.5 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001947/1.033, allocations: 254.3 kB / 1.295 GB, free: 181.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.455/3.488, allocations: 0 / 1.295 GB, free: 181.2 MB / 1.014 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches