Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.004626/0.004626, allocations: 101.1 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.001302/0.001302, allocations: 189.5 kB / 16.67 MB, free: 5.973 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.273/1.273, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.311/2.311, allocations: 437.1 MB / 0.7106 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 67.89 kB / 1.018 GB, free: 9.883 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6515/0.6533, allocations: 151.6 MB / 1.166 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.006973/0.6603, allocations: 5.558 MB / 1.172 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.003818/0.6641, allocations: 2.65 MB / 1.174 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001926/0.6643, allocations: 23.81 kB / 1.174 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001617/0.6659, allocations: 0.6744 MB / 1.175 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0007035/0.6666, allocations: 409.7 kB / 1.175 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007674/0.6674, allocations: 408.8 kB / 1.176 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0009536/0.6684, allocations: 0.963 MB / 1.177 GB, free: 9.074 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006039/0.669, allocations: 462.2 kB / 1.177 GB, free: 8.621 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004061/0.6694, allocations: 370.7 kB / 1.177 GB, free: 8.258 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005002/0.6699, allocations: 402.4 kB / 1.178 GB, free: 7.863 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.723e-05/0.67, allocations: 51.94 kB / 1.178 GB, free: 7.812 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005483/0.6706, allocations: 371.2 kB / 1.178 GB, free: 7.449 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002485/0.6708, allocations: 247.3 kB / 1.178 GB, free: 7.207 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003341/0.6712, allocations: 350.2 kB / 1.179 GB, free: 6.863 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.6722, allocations: 0.9767 MB / 1.18 GB, free: 5.883 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.6722, allocations: 0 / 1.18 GB, free: 5.883 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.126e-06/0.6722, allocations: 0 / 1.18 GB, free: 5.883 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.6722, allocations: 3.938 kB / 1.18 GB, free: 5.879 MB / 0.9044 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.001473/0.6737, allocations: 0.9923 MB / 1.181 GB, free: 4.832 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.6737, allocations: 12.92 kB / 1.181 GB, free: 4.82 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001077/0.6738, allocations: 94.7 kB / 1.181 GB, free: 4.719 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001276/0.6751, allocations: 204.2 kB / 1.181 GB, free: 4.52 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007267/0.6759, allocations: 0.534 MB / 1.181 GB, free: 3.945 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.341e-05/0.6759, allocations: 33.38 kB / 1.182 GB, free: 3.914 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001427/0.676, allocations: 56.55 kB / 1.182 GB, free: 3.859 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.6772, allocations: 0.8338 MB / 1.182 GB, free: 2.945 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.6772, allocations: 0 / 1.182 GB, free: 2.945 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.624e-05/0.6773, allocations: 24 kB / 1.182 GB, free: 2.922 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001821/0.6775, allocations: 68.94 kB / 1.182 GB, free: 2.852 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008583/0.6783, allocations: 0.5735 MB / 1.183 GB, free: 2.281 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004249/0.6826, allocations: 4.581 MB / 1.188 GB, free: 13.34 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004518/0.683, allocations: 295.3 kB / 1.188 GB, free: 13.05 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003069/0.6834, allocations: 233.3 kB / 1.188 GB, free: 12.82 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.6834, allocations: 288 / 1.188 GB, free: 12.82 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.6834, allocations: 42.84 kB / 1.188 GB, free: 12.77 MB / 0.92 GB Notification: Performance of pre-optimization done (n=33): time 3.016e-06/0.6834, allocations: 0 / 1.188 GB, free: 12.77 MB / 0.92 GB Notification: Performance of matching and sorting (n=40): time 0.005329/0.6888, allocations: 2.64 MB / 1.191 GB, free: 10 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.6888, allocations: 55.41 kB / 1.191 GB, free: 9.934 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004877/0.6893, allocations: 477.9 kB / 1.191 GB, free: 9.453 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.916e-05/0.6894, allocations: 33.7 kB / 1.191 GB, free: 9.414 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000233/0.6896, allocations: 348.5 kB / 1.192 GB, free: 9.07 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/0.6897, allocations: 150.7 kB / 1.192 GB, free: 8.922 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001645/0.6899, allocations: 106.2 kB / 1.192 GB, free: 8.812 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.6901, allocations: 362.8 kB / 1.192 GB, free: 8.449 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003519/0.6904, allocations: 237 kB / 1.192 GB, free: 8.219 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004809/0.6909, allocations: 410.5 kB / 1.193 GB, free: 7.742 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008768/0.6918, allocations: 0.6739 MB / 1.193 GB, free: 6.996 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.6918, allocations: 4 kB / 1.193 GB, free: 6.992 MB / 0.92 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001645/0.6935, allocations: 0.9217 MB / 1.194 GB, free: 6.055 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.6935, allocations: 11.94 kB / 1.194 GB, free: 6.043 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.6935, allocations: 8.031 kB / 1.194 GB, free: 6.035 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007349/0.6942, allocations: 222.4 kB / 1.195 GB, free: 5.809 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004813/0.6947, allocations: 115.8 kB / 1.195 GB, free: 5.695 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005272/0.7, allocations: 5.348 MB / 1.2 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003756/0.7004, allocations: 31.97 kB / 1.2 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.602e-05/0.7005, allocations: 24 kB / 1.2 GB, free: 15.88 MB / 0.9356 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.0002777/0.7007, allocations: 222.2 kB / 1.2 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.528e-05/0.7008, allocations: 63.56 kB / 1.2 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001491/0.7023, allocations: 0.7812 MB / 1.201 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.7024, allocations: 7.938 kB / 1.201 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.135e-06/0.7024, allocations: 0 / 1.201 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.7024, allocations: 8 kB / 1.201 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002337/0.7047, allocations: 1.495 MB / 1.202 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.7047, allocations: 0 / 1.202 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003759/0.7051, allocations: 71.94 kB / 1.202 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000649/0.7058, allocations: 206.7 kB / 1.203 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.064e-05/0.7058, allocations: 12 kB / 1.203 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005045/0.7109, allocations: 5.278 MB / 1.208 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.7109, allocations: 0 / 1.208 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001743/0.7126, allocations: 1.135 MB / 1.209 GB, free: 6.012 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002067/0.7129, allocations: 168.7 kB / 1.209 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.607e-05/0.7129, allocations: 11.98 kB / 1.209 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000314/0.7132, allocations: 27.97 kB / 1.209 GB, free: 5.789 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.899e-05/0.7133, allocations: 36.02 kB / 1.209 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-05/0.7134, allocations: 16 kB / 1.209 GB, free: 5.738 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003384/0.7137, allocations: 310.9 kB / 1.209 GB, free: 5.438 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.864e-06/0.7137, allocations: 0 / 1.209 GB, free: 5.438 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006085/0.7143, allocations: 171.9 kB / 1.21 GB, free: 5.27 MB / 0.9356 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.002111/0.7165, allocations: 1.701 MB / 1.211 GB, free: 3.508 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001657/0.7181, allocations: 1.016 MB / 1.212 GB, free: 2.453 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.7181, allocations: 0 / 1.212 GB, free: 2.453 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000996/0.7191, allocations: 0.6798 MB / 1.213 GB, free: 1.734 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008481/0.72, allocations: 182.8 kB / 1.213 GB, free: 1.566 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00773/0.7277, allocations: 5.652 MB / 1.219 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005884/0.7283, allocations: 0.9456 MB / 1.22 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003288/0.7287, allocations: 116.9 kB / 1.22 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002772/0.729, allocations: 211.4 kB / 1.22 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of SimCode: time 3.71e-07/0.729, allocations: 4 kB / 1.22 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2711/1, allocations: 14.21 MB / 1.234 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.73/14.73, allocations: 14.81 kB / 1.234 GB, free: 12.38 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches