Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Loads.Examples.Impedances,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",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.001267/0.001268, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001225/0.001225, allocations: 192.4 kB / 16.14 MB, free: 6.691 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.271/1.271, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.421/2.421, allocations: 437 MB / 0.71 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 59.91 kB / 0.8687 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5463/0.5478, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006798/0.5546, allocations: 4.912 MB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004758/0.5594, allocations: 2.506 MB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000509/0.5599, allocations: 23.81 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00133/0.5613, allocations: 374.2 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001185/0.5625, allocations: 414 kB / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.5636, allocations: 363.3 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001517/0.5651, allocations: 1.136 MB / 1.026 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006784/0.5658, allocations: 351.3 kB / 1.027 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005561/0.5664, allocations: 306.5 kB / 1.027 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000571/0.567, allocations: 350.5 kB / 1.027 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.966e-05/0.5671, allocations: 28 kB / 1.027 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000963/0.568, allocations: 499 kB / 1.028 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002785/0.5683, allocations: 171.4 kB / 1.028 GB, free: 7.379 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004484/0.5688, allocations: 310.2 kB / 1.028 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001312/0.5701, allocations: 0.8936 MB / 1.029 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.5701, allocations: 0 / 1.029 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.012e-06/0.5701, allocations: 0 / 1.029 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.96e-05/0.5702, allocations: 0 / 1.029 GB, free: 6.18 MB / 0.7794 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.001832/0.572, allocations: 0.9464 MB / 1.03 GB, free: 5.184 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.5721, allocations: 8.031 kB / 1.03 GB, free: 5.176 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000141/0.5722, allocations: 102.6 kB / 1.03 GB, free: 5.066 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001762/0.574, allocations: 211.7 kB / 1.03 GB, free: 4.859 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009117/0.5749, allocations: 0.4944 MB / 1.031 GB, free: 4.324 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.142e-05/0.5749, allocations: 33.36 kB / 1.031 GB, free: 4.293 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.605e-05/0.5751, allocations: 48.38 kB / 1.031 GB, free: 4.246 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.5763, allocations: 0.8407 MB / 1.032 GB, free: 3.273 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/0.5763, allocations: 7.938 kB / 1.032 GB, free: 3.266 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.832e-05/0.5764, allocations: 23.98 kB / 1.032 GB, free: 3.242 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.849e-05/0.5765, allocations: 68.95 kB / 1.032 GB, free: 3.172 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008274/0.5773, allocations: 0.5616 MB / 1.032 GB, free: 2.613 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004016/0.5813, allocations: 5.658 MB / 1.038 GB, free: 12.56 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005952/0.5819, allocations: 458.6 kB / 1.038 GB, free: 12.1 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002847/0.5822, allocations: 229.2 kB / 1.038 GB, free: 11.88 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.594e-05/0.5823, allocations: 15.98 kB / 1.038 GB, free: 11.86 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.5823, allocations: 34.55 kB / 1.038 GB, free: 11.82 MB / 0.795 GB Notification: Performance of pre-optimization done (n=32): time 1.543e-06/0.5823, allocations: 0 / 1.038 GB, free: 11.82 MB / 0.795 GB Notification: Performance of matching and sorting (n=33): time 0.00229/0.5846, allocations: 1.503 MB / 1.04 GB, free: 10.2 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.5846, allocations: 59.62 kB / 1.04 GB, free: 10.12 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005117/0.5852, allocations: 0.5029 MB / 1.041 GB, free: 9.609 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.5852, allocations: 29.7 kB / 1.041 GB, free: 9.574 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002177/0.5854, allocations: 362.8 kB / 1.041 GB, free: 9.215 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.143e-05/0.5855, allocations: 122.3 kB / 1.041 GB, free: 9.094 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.5856, allocations: 106.2 kB / 1.041 GB, free: 8.984 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.5858, allocations: 366.8 kB / 1.041 GB, free: 8.617 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002758/0.5861, allocations: 193.2 kB / 1.042 GB, free: 8.426 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004169/0.5865, allocations: 451.3 kB / 1.042 GB, free: 7.871 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000744/0.5872, allocations: 0.6915 MB / 1.043 GB, free: 7.062 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.5873, allocations: 4 kB / 1.043 GB, free: 7.059 MB / 0.795 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001185/0.5884, allocations: 0.8133 MB / 1.044 GB, free: 6.223 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.5885, allocations: 9.562 kB / 1.044 GB, free: 6.215 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.5885, allocations: 8 kB / 1.044 GB, free: 6.207 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004519/0.5889, allocations: 156 kB / 1.044 GB, free: 6.039 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00039/0.5893, allocations: 124 kB / 1.044 GB, free: 5.918 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002811/0.5922, allocations: 4.036 MB / 1.048 GB, free: 1.484 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000312/0.5925, allocations: 35.97 kB / 1.048 GB, free: 1.449 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.475e-05/0.5925, allocations: 24.16 kB / 1.048 GB, free: 1.426 MB / 0.795 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.0002198/0.5928, allocations: 225.5 kB / 1.048 GB, free: 1.195 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.824e-05/0.5928, allocations: 59.25 kB / 1.048 GB, free: 1.137 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009468/0.5938, allocations: 0.6009 MB / 1.049 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.5938, allocations: 4 kB / 1.049 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.5938, allocations: 7.875 kB / 1.049 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.5938, allocations: 3.984 kB / 1.049 GB, free: 0.5 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/0.5954, allocations: 1.257 MB / 1.05 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.5955, allocations: 4 kB / 1.05 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002247/0.5957, allocations: 55.89 kB / 1.05 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003832/0.5961, allocations: 148.3 kB / 1.05 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/0.5961, allocations: 8 kB / 1.05 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002685/0.5988, allocations: 4.017 MB / 1.054 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5988, allocations: 0 / 1.054 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008823/0.5997, allocations: 0.709 MB / 1.055 GB, free: 9.746 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001716/0.5999, allocations: 176.2 kB / 1.055 GB, free: 9.555 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.909e-05/0.6, allocations: 8 kB / 1.055 GB, free: 9.547 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/0.6002, allocations: 23.97 kB / 1.055 GB, free: 9.523 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.373e-05/0.6003, allocations: 31.91 kB / 1.055 GB, free: 9.492 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/0.6003, allocations: 12 kB / 1.055 GB, free: 9.48 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003105/0.6006, allocations: 338.8 kB / 1.055 GB, free: 9.152 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6006, allocations: 0 / 1.055 GB, free: 9.152 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005339/0.6011, allocations: 144 kB / 1.055 GB, free: 9.012 MB / 0.8106 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.001148/0.6023, allocations: 1.265 MB / 1.057 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001207/0.6035, allocations: 1.029 MB / 1.058 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.6035, allocations: 4.875 kB / 1.058 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007485/0.6043, allocations: 0.7351 MB / 1.058 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008601/0.6052, allocations: 189.8 kB / 1.059 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005891/0.6111, allocations: 5.461 MB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004085/0.6115, allocations: 0.9098 MB / 1.065 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003176/0.6118, allocations: 125.3 kB / 1.065 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002183/0.612, allocations: 195.4 kB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.612, allocations: 3.938 kB / 1.065 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6313/1.243, allocations: 12.3 MB / 1.077 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002814/1.244, allocations: 245.5 kB / 1.077 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.097/3.341, allocations: 4.062 kB / 1.077 GB, free: 2.199 MB / 0.8262 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches