Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.0008618/0.0008618, 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.0008247/0.0008247, allocations: 169.9 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.8442/0.8442, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.701/1.701, allocations: 377.8 MB / 0.6221 GB, free: 8.695 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_L,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.981 GB, free: 2.629 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.077e-05/2.246e-05, allocations: 5.516 kB / 0.981 GB, free: 2.625 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.004918/0.004941, allocations: 5.896 MB / 0.9867 GB, free: 12.7 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.00289/0.007831, allocations: 3.11 MB / 0.9898 GB, free: 9.582 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002183/0.008049, allocations: 43.62 kB / 0.9898 GB, free: 9.539 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.009193, allocations: 0.9352 MB / 0.9907 GB, free: 8.602 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0005684/0.009762, allocations: 0.4893 MB / 0.9912 GB, free: 8.109 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000573/0.01033, allocations: 0.509 MB / 0.9917 GB, free: 7.602 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.00071/0.01104, allocations: 1.135 MB / 0.9928 GB, free: 6.465 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005339/0.01158, allocations: 0.5021 MB / 0.9933 GB, free: 5.957 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005039/0.01208, allocations: 0.6155 MB / 0.9939 GB, free: 5.34 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003606/0.01244, allocations: 434.8 kB / 0.9943 GB, free: 4.914 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 5.888e-05/0.0125, allocations: 60 kB / 0.9944 GB, free: 4.855 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003917/0.01289, allocations: 446.8 kB / 0.9948 GB, free: 4.418 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001888/0.01308, allocations: 311.1 kB / 0.9951 GB, free: 4.113 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001786/0.01326, allocations: 271.3 kB / 0.9953 GB, free: 3.848 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008024/0.01406, allocations: 1.215 MB / 0.9965 GB, free: 2.629 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.235e-06/0.01407, allocations: 0 / 0.9965 GB, free: 2.629 MB / 0.948 GB Notification: Performance of FrontEnd: time 8.11e-07/0.01407, allocations: 0 / 0.9965 GB, free: 2.629 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.857e-06/0.01408, allocations: 0 / 0.9965 GB, free: 2.629 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.0009915/0.01507, allocations: 0.9908 MB / 0.9975 GB, free: 1.605 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.0151, allocations: 12.03 kB / 0.9975 GB, free: 1.594 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.758e-05/0.0152, allocations: 122.7 kB / 0.9976 GB, free: 1.465 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007606/0.01596, allocations: 228.2 kB / 0.9978 GB, free: 1.242 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005813/0.01654, allocations: 0.5275 MB / 0.9984 GB, free: 0.6836 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/0.01657, allocations: 45.67 kB / 0.9984 GB, free: 0.6406 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.96e-05/0.01664, allocations: 72.31 kB / 0.9985 GB, free: 0.5703 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009194/0.01756, allocations: 1.119 MB / 0.9996 GB, free: 15.32 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/0.01758, allocations: 16.11 kB / 0.9996 GB, free: 15.3 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.129e-05/0.01762, allocations: 36.11 kB / 0.9996 GB, free: 15.27 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.825e-05/0.01768, allocations: 65.28 kB / 0.9997 GB, free: 15.2 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006755/0.01836, allocations: 0.6879 MB / 1 GB, free: 14.52 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002922/0.02128, allocations: 4.506 MB / 1.005 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005062/0.02179, allocations: 402.3 kB / 1.005 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004753/0.02226, allocations: 392.5 kB / 1.006 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.02228, allocations: 4 kB / 1.006 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.0223, allocations: 39.25 kB / 1.006 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=41): time 1.473e-06/0.02231, allocations: 0 / 1.006 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of matching and sorting (n=42): time 0.002366/0.02467, allocations: 1.729 MB / 1.007 GB, free: 7.246 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.02471, allocations: 63.33 kB / 1.007 GB, free: 7.172 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003316/0.02504, allocations: 466.8 kB / 1.008 GB, free: 6.703 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.02507, allocations: 41.7 kB / 1.008 GB, free: 6.656 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.02524, allocations: 400.1 kB / 1.008 GB, free: 6.262 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 8.148e-05/0.02532, allocations: 150.7 kB / 1.008 GB, free: 6.113 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.02543, allocations: 106.2 kB / 1.008 GB, free: 6.004 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.02555, allocations: 362.8 kB / 1.009 GB, free: 5.641 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002303/0.02578, allocations: 245.2 kB / 1.009 GB, free: 5.402 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003369/0.02612, allocations: 461 kB / 1.009 GB, free: 4.855 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006147/0.02673, allocations: 0.7641 MB / 1.01 GB, free: 3.996 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.02674, allocations: 0 / 1.01 GB, free: 3.996 MB / 0.9636 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001046/0.02778, allocations: 1.047 MB / 1.011 GB, free: 2.93 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.0278, allocations: 8 kB / 1.011 GB, free: 2.922 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.02781, allocations: 11.94 kB / 1.011 GB, free: 2.91 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005485/0.02836, allocations: 327.2 kB / 1.012 GB, free: 2.578 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.02852, allocations: 95.83 kB / 1.012 GB, free: 2.484 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004389/0.03291, allocations: 7.061 MB / 1.019 GB, free: 10.96 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/0.03309, allocations: 32.02 kB / 1.019 GB, free: 10.93 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.527e-05/0.03312, allocations: 28 kB / 1.019 GB, free: 10.91 MB / 0.9792 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001944/0.03331, allocations: 237.6 kB / 1.019 GB, free: 10.66 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.158e-05/0.03336, allocations: 67.56 kB / 1.019 GB, free: 10.6 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009511/0.03431, allocations: 0.8961 MB / 1.02 GB, free: 9.676 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.03432, allocations: 8 kB / 1.02 GB, free: 9.668 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.03432, allocations: 8 kB / 1.02 GB, free: 9.66 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.03432, allocations: 3.984 kB / 1.02 GB, free: 9.656 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001528/0.03585, allocations: 1.603 MB / 1.021 GB, free: 7.973 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.03586, allocations: 0 / 1.021 GB, free: 7.973 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.359e-05/0.03594, allocations: 43.91 kB / 1.021 GB, free: 7.93 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004718/0.03641, allocations: 307.3 kB / 1.022 GB, free: 7.617 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.03643, allocations: 8 kB / 1.022 GB, free: 7.609 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004051/0.04048, allocations: 7.074 MB / 1.029 GB, free: 76 kB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.04048, allocations: 4 kB / 1.029 GB, free: 72 kB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.04156, allocations: 0.9838 MB / 1.03 GB, free: 15.04 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.04168, allocations: 103.5 kB / 1.03 GB, free: 14.94 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.188e-05/0.04171, allocations: 11.98 kB / 1.03 GB, free: 14.93 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.04185, allocations: 15.98 kB / 1.03 GB, free: 14.91 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.365e-05/0.04191, allocations: 47.86 kB / 1.03 GB, free: 14.86 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.04193, allocations: 12 kB / 1.03 GB, free: 14.85 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001981/0.04213, allocations: 314.9 kB / 1.03 GB, free: 14.55 MB / 0.9948 GB Notification: Performance of sort global known variables: time 4e-08/0.04213, allocations: 0 / 1.03 GB, free: 14.55 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0004346/0.04256, allocations: 196 kB / 1.03 GB, free: 14.36 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001107/0.04367, allocations: 1.545 MB / 1.032 GB, free: 12.75 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001031/0.0447, allocations: 1.152 MB / 1.033 GB, free: 11.55 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.0447, allocations: 4.125 kB / 1.033 GB, free: 11.55 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005895/0.04529, allocations: 0.8304 MB / 1.034 GB, free: 10.66 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005652/0.04586, allocations: 217.8 kB / 1.034 GB, free: 10.46 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004877/0.05073, allocations: 5.887 MB / 1.04 GB, free: 4.254 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.05098, allocations: 399 kB / 1.04 GB, free: 3.84 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001544/0.05114, allocations: 97.17 kB / 1.04 GB, free: 3.742 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/0.05131, allocations: 232.4 kB / 1.04 GB, free: 3.516 MB / 0.9948 GB Notification: Performance of SimCode: time 5.71e-07/0.05131, allocations: 0 / 1.04 GB, free: 3.516 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03074/0.08205, allocations: 17.2 MB / 1.057 GB, free: 2.715 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.938/7.02, allocations: 1.875 kB / 1.057 GB, free: 2.715 MB / 1.01 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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: 11.336635460145772]