Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.000831/0.000831, 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.001219/0.001219, 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.8807/0.8807, allocations: 177.1 MB / 202.8 MB, free: 5.547 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.617/1.617, allocations: 359 MB / 0.6037 GB, free: 11.1 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.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.9505 GB, free: 3.52 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.449e-05/1.598e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.512 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.0107/0.01071, allocations: 15.18 MB / 0.9653 GB, free: 4.27 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.004833/0.01555, allocations: 4.719 MB / 0.9699 GB, free: 15.53 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005359/0.01608, allocations: 91.38 kB / 0.97 GB, free: 15.44 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.001287/0.01737, allocations: 1.06 MB / 0.971 GB, free: 14.38 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0009046/0.01827, allocations: 0.7963 MB / 0.9718 GB, free: 13.58 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.001167/0.01944, allocations: 0.9336 MB / 0.9727 GB, free: 12.64 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.001985/0.02143, allocations: 3.668 MB / 0.9763 GB, free: 8.969 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001886/0.02331, allocations: 2.442 MB / 0.9787 GB, free: 6.453 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001614/0.02493, allocations: 2.277 MB / 0.9809 GB, free: 4.172 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001218/0.02614, allocations: 1.687 MB / 0.9826 GB, free: 2.48 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0002504/0.02639, allocations: 340 kB / 0.9829 GB, free: 2.148 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007623/0.02716, allocations: 0.7526 MB / 0.9836 GB, free: 1.395 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0007474/0.0279, allocations: 1.423 MB / 0.985 GB, free: 15.97 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0006939/0.0286, allocations: 1.021 MB / 0.986 GB, free: 14.95 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.003086/0.03168, allocations: 5.24 MB / 0.9911 GB, free: 9.691 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.03169, allocations: 0 / 0.9911 GB, free: 9.691 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.743e-06/0.03169, allocations: 0 / 0.9911 GB, free: 9.691 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.536e-05/0.03172, allocations: 3.938 kB / 0.9911 GB, free: 9.688 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: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.002969/0.03469, allocations: 2.611 MB / 0.9937 GB, free: 7.031 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.03473, allocations: 8.031 kB / 0.9937 GB, free: 7.023 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000305/0.03504, allocations: 374.5 kB / 0.9941 GB, free: 6.648 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001903/0.03694, allocations: 0.8538 MB / 0.9949 GB, free: 5.793 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001601/0.03854, allocations: 1.534 MB / 0.9964 GB, free: 4.227 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.331e-05/0.03863, allocations: 177.1 kB / 0.9966 GB, free: 4.051 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002503/0.03888, allocations: 232.4 kB / 0.9968 GB, free: 3.824 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004244/0.04312, allocations: 4.262 MB / 1.001 GB, free: 15.4 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.601e-05/0.04316, allocations: 8.062 kB / 1.001 GB, free: 15.39 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00017/0.04333, allocations: 104.1 kB / 1.001 GB, free: 15.29 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001179/0.04344, allocations: 168.5 kB / 1.001 GB, free: 15.12 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003388/0.04683, allocations: 3.628 MB / 1.005 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008784/0.05562, allocations: 11.02 MB / 1.016 GB, free: 120 kB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001667/0.05728, allocations: 1.468 MB / 1.017 GB, free: 14.63 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005116/0.05779, allocations: 0.5548 MB / 1.017 GB, free: 14.07 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 6.661e-05/0.05786, allocations: 16.66 kB / 1.018 GB, free: 14.05 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.05789, allocations: 47.2 kB / 1.018 GB, free: 13.99 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=72): time 1.963e-06/0.05789, allocations: 0 / 1.018 GB, free: 13.99 MB / 0.9792 GB Notification: Performance of matching and sorting (n=76): time 0.003069/0.06096, allocations: 3.209 MB / 1.021 GB, free: 10.77 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/0.061, allocations: 111.5 kB / 1.021 GB, free: 10.63 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009016/0.06191, allocations: 1.053 MB / 1.022 GB, free: 9.555 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 3.369e-05/0.06194, allocations: 41.7 kB / 1.022 GB, free: 9.508 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.000421/0.06236, allocations: 1.138 MB / 1.023 GB, free: 8.355 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/0.06249, allocations: 277.7 kB / 1.023 GB, free: 8.082 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002432/0.06273, allocations: 287.4 kB / 1.024 GB, free: 7.793 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.06286, allocations: 414.7 kB / 1.024 GB, free: 7.379 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005524/0.06341, allocations: 0.6089 MB / 1.025 GB, free: 6.77 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007859/0.0642, allocations: 1.189 MB / 1.026 GB, free: 5.316 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001331/0.06553, allocations: 1.864 MB / 1.027 GB, free: 3.188 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.06554, allocations: 4 kB / 1.027 GB, free: 3.184 MB / 0.9792 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.001875/0.06741, allocations: 2.019 MB / 1.029 GB, free: 1.145 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.06743, allocations: 12 kB / 1.029 GB, free: 1.133 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/0.06745, allocations: 23.94 kB / 1.029 GB, free: 1.109 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000248/0.0677, allocations: 163.4 kB / 1.03 GB, free: 0.9375 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005639/0.06826, allocations: 343.4 kB / 1.03 GB, free: 0.6016 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.363e-05/0.06829, allocations: 39.86 kB / 1.03 GB, free: 0.5625 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004587/0.06874, allocations: 135.7 kB / 1.03 GB, free: 440 kB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.243e-05/0.06881, allocations: 68 kB / 1.03 GB, free: 372 kB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000884/0.06969, allocations: 0.9803 MB / 1.031 GB, free: 15.38 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.06982, allocations: 111.3 kB / 1.031 GB, free: 15.27 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001419/0.07123, allocations: 1.23 MB / 1.032 GB, free: 14.02 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.07124, allocations: 8 kB / 1.032 GB, free: 14.01 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.07125, allocations: 4 kB / 1.032 GB, free: 14 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.07126, allocations: 7.922 kB / 1.032 GB, free: 14 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00327/0.07453, allocations: 3.443 MB / 1.036 GB, free: 10.46 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.07453, allocations: 4 kB / 1.036 GB, free: 10.46 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002944/0.07483, allocations: 155.8 kB / 1.036 GB, free: 10.31 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001802/0.07501, allocations: 139.6 kB / 1.036 GB, free: 10.16 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.924e-05/0.07503, allocations: 24 kB / 1.036 GB, free: 10.14 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/0.07504, allocations: 7.938 kB / 1.036 GB, free: 10.13 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.07504, allocations: 4 kB / 1.036 GB, free: 10.12 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.07615, allocations: 1.466 MB / 1.038 GB, free: 8.602 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002349/0.07639, allocations: 199.3 kB / 1.038 GB, free: 8.406 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.085e-05/0.07646, allocations: 27.92 kB / 1.038 GB, free: 8.379 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002936/0.07675, allocations: 75.91 kB / 1.038 GB, free: 8.305 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.196e-05/0.07684, allocations: 56.48 kB / 1.038 GB, free: 8.25 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.561e-05/0.07686, allocations: 24 kB / 1.038 GB, free: 8.227 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0005278/0.07739, allocations: 0.6992 MB / 1.039 GB, free: 7.516 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.4e-07/0.07739, allocations: 3.938 kB / 1.039 GB, free: 7.512 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0007458/0.07813, allocations: 388 kB / 1.039 GB, free: 7.133 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001375/0.07951, allocations: 2.034 MB / 1.041 GB, free: 5.035 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001497/0.08101, allocations: 1.36 MB / 1.042 GB, free: 3.664 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.08101, allocations: 4.062 kB / 1.042 GB, free: 3.66 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004799/0.08149, allocations: 0.53 MB / 1.043 GB, free: 3.121 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007833/0.08227, allocations: 271.6 kB / 1.043 GB, free: 2.859 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3635/0.4458, allocations: 12.89 MB / 1.056 GB, free: 125.1 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009356/0.4467, allocations: 1.332 MB / 1.057 GB, free: 124.7 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0005903/0.4473, allocations: 452.5 kB / 1.057 GB, free: 124.7 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004522/0.4478, allocations: 0.7135 MB / 1.058 GB, free: 124.1 MB / 0.9948 GB Notification: Performance of SimCode: time 1.202e-06/0.4478, allocations: 0 / 1.058 GB, free: 124.1 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03712/0.4849, allocations: 29.24 MB / 1.087 GB, free: 120.9 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.604/8.089, allocations: 10.03 kB / 1.087 GB, free: 120.9 MB / 0.9948 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.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: 12.10838670656085]