Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000817/0.000817, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008196/0.0008196, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8467/0.8467, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.572/1.572, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_11_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_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.9505 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.167e-05/1.319e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.004344/0.004357, allocations: 5.297 MB / 0.9557 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.002419/0.006776, allocations: 2.611 MB / 0.9582 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001839/0.00696, allocations: 31.69 kB / 0.9582 GB, free: 11.51 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0008811/0.007841, allocations: 0.6749 MB / 0.9589 GB, free: 10.83 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0004889/0.00833, allocations: 445.2 kB / 0.9593 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004852/0.008815, allocations: 416.5 kB / 0.9597 GB, free: 9.988 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0006443/0.00946, allocations: 0.9902 MB / 0.9607 GB, free: 8.992 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004553/0.009915, allocations: 374.5 kB / 0.961 GB, free: 8.621 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004362/0.01035, allocations: 0.522 MB / 0.9616 GB, free: 8.098 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003179/0.01067, allocations: 366.9 kB / 0.9619 GB, free: 7.738 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.73e-05/0.01072, allocations: 55.98 kB / 0.962 GB, free: 7.684 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003029/0.01102, allocations: 331 kB / 0.9623 GB, free: 7.359 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001556/0.01117, allocations: 263.2 kB / 0.9625 GB, free: 7.102 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001532/0.01133, allocations: 247.4 kB / 0.9628 GB, free: 6.859 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0006594/0.01199, allocations: 0.993 MB / 0.9637 GB, free: 5.863 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.01199, allocations: 3.938 kB / 0.9637 GB, free: 5.859 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.392e-06/0.01199, allocations: 4 kB / 0.9637 GB, free: 5.855 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.012, allocations: 0 / 0.9637 GB, free: 5.855 MB / 0.9167 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.0009072/0.01291, allocations: 0.9092 MB / 0.9646 GB, free: 4.914 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.01294, allocations: 12.03 kB / 0.9646 GB, free: 4.902 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.743e-05/0.01302, allocations: 98.69 kB / 0.9647 GB, free: 4.797 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006617/0.01368, allocations: 208.2 kB / 0.9649 GB, free: 4.594 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004982/0.01418, allocations: 468.1 kB / 0.9654 GB, free: 4.109 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.0142, allocations: 41.36 kB / 0.9654 GB, free: 4.07 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.103e-05/0.01429, allocations: 52.5 kB / 0.9655 GB, free: 4.02 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007229/0.01502, allocations: 0.9809 MB / 0.9664 GB, free: 2.918 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.01503, allocations: 12.11 kB / 0.9664 GB, free: 2.906 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.542e-05/0.01507, allocations: 27.92 kB / 0.9665 GB, free: 2.879 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.665e-05/0.01517, allocations: 68.95 kB / 0.9665 GB, free: 2.812 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005343/0.0157, allocations: 0.5658 MB / 0.9671 GB, free: 2.246 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002309/0.01801, allocations: 3.55 MB / 0.9706 GB, free: 14.56 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003107/0.01832, allocations: 287.1 kB / 0.9708 GB, free: 14.27 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.01851, allocations: 213.3 kB / 0.971 GB, free: 14.06 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.01853, allocations: 4.281 kB / 0.971 GB, free: 14.05 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.01856, allocations: 42.83 kB / 0.9711 GB, free: 14 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=33): time 1.462e-06/0.01856, allocations: 0 / 0.9711 GB, free: 14 MB / 0.9323 GB Notification: Performance of matching and sorting (n=40): time 0.002966/0.02153, allocations: 2.331 MB / 0.9733 GB, free: 11.62 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.02155, allocations: 55.41 kB / 0.9734 GB, free: 11.55 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003064/0.02186, allocations: 470 kB / 0.9739 GB, free: 11.08 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.02189, allocations: 33.7 kB / 0.9739 GB, free: 11.04 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/0.02203, allocations: 356.5 kB / 0.9742 GB, free: 10.69 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 7.077e-05/0.0221, allocations: 150.7 kB / 0.9744 GB, free: 10.54 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.833e-05/0.0222, allocations: 102.3 kB / 0.9745 GB, free: 10.44 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.02236, allocations: 370.7 kB / 0.9748 GB, free: 10.07 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002281/0.02258, allocations: 237.2 kB / 0.975 GB, free: 9.836 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002967/0.02288, allocations: 411.3 kB / 0.9754 GB, free: 9.355 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005475/0.02343, allocations: 0.6779 MB / 0.9761 GB, free: 8.605 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.02343, allocations: 4 kB / 0.9761 GB, free: 8.602 MB / 0.9323 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009405/0.02437, allocations: 0.9177 MB / 0.977 GB, free: 7.668 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.02438, allocations: 8 kB / 0.977 GB, free: 7.66 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.02439, allocations: 8.062 kB / 0.977 GB, free: 7.652 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004111/0.0248, allocations: 222.3 kB / 0.9772 GB, free: 7.426 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002559/0.02506, allocations: 111.8 kB / 0.9773 GB, free: 7.316 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002906/0.02796, allocations: 5.006 MB / 0.9822 GB, free: 1.969 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001907/0.02816, allocations: 31.97 kB / 0.9823 GB, free: 1.938 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.359e-05/0.02818, allocations: 20 kB / 0.9823 GB, free: 1.918 MB / 0.9323 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.0001714/0.02835, allocations: 225.5 kB / 0.9825 GB, free: 1.688 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.048e-05/0.0284, allocations: 55.67 kB / 0.9825 GB, free: 1.633 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008346/0.02924, allocations: 0.7699 MB / 0.9833 GB, free: 0.8398 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.02924, allocations: 7.938 kB / 0.9833 GB, free: 0.832 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.02924, allocations: 0 / 0.9833 GB, free: 0.832 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.02925, allocations: 4.125 kB / 0.9833 GB, free: 0.8281 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001382/0.03063, allocations: 1.4 MB / 0.9847 GB, free: 15.35 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.03063, allocations: 4 kB / 0.9847 GB, free: 15.34 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/0.03082, allocations: 72.08 kB / 0.9847 GB, free: 15.27 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003365/0.03115, allocations: 206.4 kB / 0.9849 GB, free: 15.06 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.03117, allocations: 8 kB / 0.9849 GB, free: 15.05 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00271/0.03388, allocations: 4.928 MB / 0.9898 GB, free: 9.785 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.03389, allocations: 12.14 kB / 0.9898 GB, free: 9.773 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.0349, allocations: 1.116 MB / 0.9909 GB, free: 8.609 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.03502, allocations: 95.61 kB / 0.991 GB, free: 8.516 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.323e-05/0.03505, allocations: 8 kB / 0.991 GB, free: 8.508 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.03521, allocations: 31.97 kB / 0.991 GB, free: 8.477 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.043e-05/0.03526, allocations: 35.94 kB / 0.991 GB, free: 8.441 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.03527, allocations: 15.94 kB / 0.991 GB, free: 8.426 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002011/0.03547, allocations: 322.8 kB / 0.9913 GB, free: 8.113 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.03547, allocations: 0 / 0.9913 GB, free: 8.113 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003744/0.03585, allocations: 168 kB / 0.9915 GB, free: 7.949 MB / 0.948 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.001207/0.03706, allocations: 1.68 MB / 0.9931 GB, free: 6.207 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008836/0.03794, allocations: 0.9728 MB / 0.9941 GB, free: 5.195 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.03794, allocations: 0 / 0.9941 GB, free: 5.195 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004815/0.03842, allocations: 0.6719 MB / 0.9948 GB, free: 4.484 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005127/0.03894, allocations: 193.9 kB / 0.9949 GB, free: 4.309 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004694/0.04363, allocations: 5.588 MB / 1 GB, free: 14.43 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.04386, allocations: 358.3 kB / 1.001 GB, free: 14.05 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.000203/0.04406, allocations: 113 kB / 1.001 GB, free: 13.94 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001831/0.04425, allocations: 212.4 kB / 1.001 GB, free: 13.73 MB / 0.9636 GB Notification: Performance of SimCode: time 7.72e-07/0.04425, allocations: 0 / 1.001 GB, free: 13.73 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03102/0.07527, allocations: 15.83 MB / 1.017 GB, free: 14.29 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.878/6.953, allocations: 0 / 1.017 GB, free: 14.29 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.671189203858376]