Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.0007875/0.0007875, 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.0007882/0.0007882, allocations: 165.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.8501/0.8501, 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.663/1.663, allocations: 377.8 MB / 0.6221 GB, free: 8.66 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.Loads.Examples.Impedances,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 0.9809 GB, free: 2.621 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.093e-05/1.209e-05, allocations: 6.281 kB / 0.981 GB, free: 2.613 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.004007/0.004019, allocations: 4.607 MB / 0.9855 GB, free: 13.98 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.002287/0.006306, allocations: 2.424 MB / 0.9878 GB, free: 11.55 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001735/0.006479, allocations: 35.62 kB / 0.9879 GB, free: 11.52 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006523/0.007131, allocations: 409.1 kB / 0.9882 GB, free: 11.12 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0005034/0.007635, allocations: 493 kB / 0.9887 GB, free: 10.63 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004198/0.008055, allocations: 406.9 kB / 0.9891 GB, free: 10.23 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0005925/0.008647, allocations: 0.9525 MB / 0.99 GB, free: 9.277 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004682/0.009115, allocations: 322.4 kB / 0.9903 GB, free: 8.957 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003967/0.009512, allocations: 498.7 kB / 0.9908 GB, free: 8.469 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002777/0.00979, allocations: 303 kB / 0.9911 GB, free: 8.172 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.002e-05/0.00983, allocations: 36 kB / 0.9911 GB, free: 8.137 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003067/0.01014, allocations: 370.9 kB / 0.9915 GB, free: 7.773 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.01026, allocations: 195.4 kB / 0.9917 GB, free: 7.582 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.01039, allocations: 211.4 kB / 0.9919 GB, free: 7.375 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005856/0.01098, allocations: 0.9111 MB / 0.9928 GB, free: 6.461 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.235e-06/0.01098, allocations: 0 / 0.9928 GB, free: 6.461 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.062e-06/0.01098, allocations: 4 kB / 0.9928 GB, free: 6.457 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.01099, allocations: 0 / 0.9928 GB, free: 6.457 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.0008125/0.0118, allocations: 0.8818 MB / 0.9936 GB, free: 5.543 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.01183, allocations: 8.031 kB / 0.9936 GB, free: 5.535 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.833e-05/0.0119, allocations: 98.69 kB / 0.9937 GB, free: 5.43 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006227/0.01252, allocations: 212.2 kB / 0.9939 GB, free: 5.223 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004933/0.01302, allocations: 499.9 kB / 0.9944 GB, free: 4.711 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.01304, allocations: 29.38 kB / 0.9944 GB, free: 4.684 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.979e-05/0.01309, allocations: 48.36 kB / 0.9945 GB, free: 4.637 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006896/0.01378, allocations: 0.9627 MB / 0.9954 GB, free: 3.508 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.01379, allocations: 12.12 kB / 0.9954 GB, free: 3.496 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.139e-05/0.01383, allocations: 32.05 kB / 0.9955 GB, free: 3.465 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.687e-05/0.01388, allocations: 68.95 kB / 0.9955 GB, free: 3.395 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000533/0.01442, allocations: 0.5656 MB / 0.9961 GB, free: 2.832 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002422/0.01684, allocations: 4.701 MB / 1.001 GB, free: 13.93 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004003/0.01724, allocations: 422.3 kB / 1.001 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001872/0.01743, allocations: 204.7 kB / 1.001 GB, free: 13.31 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.01745, allocations: 4 kB / 1.001 GB, free: 13.3 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/0.01746, allocations: 30.56 kB / 1.001 GB, free: 13.27 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=32): time 1.272e-06/0.01746, allocations: 0 / 1.001 GB, free: 13.27 MB / 0.9636 GB Notification: Performance of matching and sorting (n=33): time 0.001375/0.01884, allocations: 1.141 MB / 1.002 GB, free: 12.1 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.01887, allocations: 59.62 kB / 1.002 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003294/0.0192, allocations: 0.5145 MB / 1.003 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.01922, allocations: 33.7 kB / 1.003 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.01937, allocations: 367.8 kB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 5.78e-05/0.01943, allocations: 122.9 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.463e-05/0.01952, allocations: 114.2 kB / 1.004 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.329e-05/0.01961, allocations: 362.8 kB / 1.004 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001843/0.0198, allocations: 209.1 kB / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004099/0.02021, allocations: 451 kB / 1.005 GB, free: 9.738 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000506/0.02071, allocations: 0.6843 MB / 1.005 GB, free: 8.938 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.02072, allocations: 4 kB / 1.005 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007453/0.02146, allocations: 0.8095 MB / 1.006 GB, free: 8.102 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.02148, allocations: 8 kB / 1.006 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.02149, allocations: 12 kB / 1.006 GB, free: 8.082 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002717/0.02176, allocations: 144.6 kB / 1.006 GB, free: 7.926 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/0.022, allocations: 127.8 kB / 1.006 GB, free: 7.801 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001847/0.02384, allocations: 4.03 MB / 1.01 GB, free: 3.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001759/0.02402, allocations: 35.97 kB / 1.01 GB, free: 3.395 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.336e-05/0.02404, allocations: 28 kB / 1.01 GB, free: 3.367 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001578/0.0242, allocations: 213.8 kB / 1.011 GB, free: 3.148 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.807e-05/0.02425, allocations: 67.58 kB / 1.011 GB, free: 3.082 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007203/0.02497, allocations: 0.5972 MB / 1.011 GB, free: 2.461 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.02497, allocations: 4 kB / 1.011 GB, free: 2.457 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.02497, allocations: 0 / 1.011 GB, free: 2.457 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.02498, allocations: 3.984 kB / 1.011 GB, free: 2.453 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.02602, allocations: 1.184 MB / 1.012 GB, free: 1.184 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.02602, allocations: 3.938 kB / 1.012 GB, free: 1.18 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.02614, allocations: 55.89 kB / 1.012 GB, free: 1.125 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002094/0.02635, allocations: 136.2 kB / 1.013 GB, free: 0.9766 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.02637, allocations: 11.98 kB / 1.013 GB, free: 0.9648 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001722/0.02809, allocations: 4.023 MB / 1.016 GB, free: 12.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.02809, allocations: 3.984 kB / 1.016 GB, free: 12.59 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005724/0.02866, allocations: 0.7079 MB / 1.017 GB, free: 11.83 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.02877, allocations: 91.55 kB / 1.017 GB, free: 11.74 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.047e-05/0.0288, allocations: 15.98 kB / 1.017 GB, free: 11.73 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.02893, allocations: 23.97 kB / 1.017 GB, free: 11.7 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.108e-05/0.02897, allocations: 31.89 kB / 1.017 GB, free: 11.67 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.02898, allocations: 8 kB / 1.017 GB, free: 11.66 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0002164/0.0292, allocations: 342.9 kB / 1.018 GB, free: 11.33 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.0292, allocations: 7.938 kB / 1.018 GB, free: 11.32 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0004834/0.02968, allocations: 140 kB / 1.018 GB, free: 11.19 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007597/0.03044, allocations: 1.25 MB / 1.019 GB, free: 9.875 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0007589/0.0312, allocations: 0.8666 MB / 1.02 GB, free: 8.965 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.0312, allocations: 0 / 1.02 GB, free: 8.965 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003799/0.03158, allocations: 0.5685 MB / 1.02 GB, free: 8.352 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005468/0.03213, allocations: 203.5 kB / 1.021 GB, free: 8.16 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004007/0.03614, allocations: 5.149 MB / 1.026 GB, free: 2.613 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001814/0.03632, allocations: 304.1 kB / 1.026 GB, free: 2.289 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001783/0.0365, allocations: 117.3 kB / 1.026 GB, free: 2.172 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.03666, allocations: 196.4 kB / 1.026 GB, free: 1.98 MB / 0.9792 GB Notification: Performance of SimCode: time 5.51e-07/0.03666, allocations: 0 / 1.026 GB, free: 1.98 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02733/0.06399, allocations: 14.42 MB / 1.04 GB, free: 3.973 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.045/7.109, allocations: 3.984 kB / 1.04 GB, free: 3.969 MB / 0.9948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.425569962710142]