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.0008673/0.0008672, allocations: 91.69 kB / 15.36 MB, free: 0.7383 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.005178/0.005178, allocations: 171.8 kB / 16.26 MB, free: 6.613 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.197/1.197, allocations: 223.3 MB / 240.3 MB, free: 5.355 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.29/2.29, allocations: 437.8 MB / 0.7121 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002888/0.0002888, allocations: 12 kB / 0.873 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5068/0.5071, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.004566/0.5117, allocations: 4.515 MB / 1.028 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003346/0.5151, allocations: 2.468 MB / 1.03 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003495/0.5155, allocations: 19.81 kB / 1.03 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000266/0.5158, allocations: 99.09 kB / 1.03 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0009423/0.5167, allocations: 414 kB / 1.03 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007167/0.5174, allocations: 359.4 kB / 1.031 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0009095/0.5184, allocations: 1.132 MB / 1.032 GB, free: 6.816 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006051/0.519, allocations: 464.2 kB / 1.032 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002887/0.5193, allocations: 294.6 kB / 1.033 GB, free: 6.043 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003398/0.5196, allocations: 334.5 kB / 1.033 GB, free: 5.715 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.794e-05/0.5197, allocations: 23.94 kB / 1.033 GB, free: 5.691 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005772/0.5202, allocations: 495 kB / 1.033 GB, free: 5.207 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.5204, allocations: 167.3 kB / 1.034 GB, free: 5.043 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002304/0.5206, allocations: 319.9 kB / 1.034 GB, free: 4.723 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000712/0.5214, allocations: 0.8818 MB / 1.035 GB, free: 3.84 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.5214, allocations: 4 kB / 1.035 GB, free: 3.836 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.163e-06/0.5214, allocations: 0 / 1.035 GB, free: 3.836 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.553e-06/0.5214, allocations: 4 kB / 1.035 GB, free: 3.832 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.001009/0.5224, allocations: 0.8373 MB / 1.036 GB, free: 2.945 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.5224, allocations: 8.031 kB / 1.036 GB, free: 2.938 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.775e-05/0.5225, allocations: 94.69 kB / 1.036 GB, free: 2.836 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/0.5237, allocations: 199.9 kB / 1.036 GB, free: 2.641 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005535/0.5242, allocations: 0.4943 MB / 1.036 GB, free: 2.105 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/0.5243, allocations: 33.38 kB / 1.036 GB, free: 2.074 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.396e-05/0.5243, allocations: 48.34 kB / 1.036 GB, free: 2.027 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008852/0.5252, allocations: 0.8446 MB / 1.037 GB, free: 1.051 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/0.5253, allocations: 15.84 kB / 1.037 GB, free: 1.035 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.884e-05/0.5253, allocations: 31.97 kB / 1.037 GB, free: 1.004 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.852e-05/0.5254, allocations: 64.89 kB / 1.037 GB, free: 0.9375 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007138/0.5261, allocations: 0.5695 MB / 1.038 GB, free: 380 kB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003473/0.5296, allocations: 5.658 MB / 1.043 GB, free: 10.32 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000545/0.5301, allocations: 454.7 kB / 1.044 GB, free: 9.863 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002693/0.5304, allocations: 229.3 kB / 1.044 GB, free: 9.637 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.5305, allocations: 7.984 kB / 1.044 GB, free: 9.629 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.5305, allocations: 38.55 kB / 1.044 GB, free: 9.582 MB / 0.795 GB Notification: Performance of pre-optimization done (n=32): time 1.573e-06/0.5305, allocations: 0 / 1.044 GB, free: 9.582 MB / 0.795 GB Notification: Performance of matching and sorting (n=33): time 0.002176/0.5327, allocations: 1.507 MB / 1.046 GB, free: 7.957 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.5327, allocations: 63.67 kB / 1.046 GB, free: 7.883 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000434/0.5332, allocations: 0.4989 MB / 1.046 GB, free: 7.371 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.5332, allocations: 29.7 kB / 1.046 GB, free: 7.336 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.5334, allocations: 358.8 kB / 1.047 GB, free: 6.98 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.297e-05/0.5335, allocations: 118.4 kB / 1.047 GB, free: 6.863 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.945e-05/0.5335, allocations: 49.7 kB / 1.047 GB, free: 6.809 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.5337, allocations: 366.8 kB / 1.047 GB, free: 6.441 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002555/0.5339, allocations: 193.2 kB / 1.047 GB, free: 6.254 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003843/0.5343, allocations: 447.3 kB / 1.048 GB, free: 5.699 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006964/0.535, allocations: 0.6954 MB / 1.048 GB, free: 4.887 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.535, allocations: 7.938 kB / 1.048 GB, free: 4.879 MB / 0.795 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0011/0.5361, allocations: 0.8013 MB / 1.049 GB, free: 4.055 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.5362, allocations: 8 kB / 1.049 GB, free: 4.047 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.5362, allocations: 12 kB / 1.049 GB, free: 4.035 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004213/0.5366, allocations: 160.7 kB / 1.049 GB, free: 3.863 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003956/0.537, allocations: 127.7 kB / 1.049 GB, free: 3.738 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00256/0.5396, allocations: 4.036 MB / 1.053 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003209/0.5399, allocations: 35.97 kB / 1.053 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.563e-05/0.5399, allocations: 32 kB / 1.053 GB, free: 15.24 MB / 0.8106 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.0002024/0.5402, allocations: 209.5 kB / 1.054 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.518e-05/0.5402, allocations: 63.34 kB / 1.054 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009162/0.5412, allocations: 0.6048 MB / 1.054 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.5412, allocations: 11.88 kB / 1.054 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.5412, allocations: 3.938 kB / 1.054 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.5412, allocations: 3.984 kB / 1.054 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/0.5427, allocations: 1.258 MB / 1.056 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.5427, allocations: 0 / 1.056 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000235/0.543, allocations: 55.95 kB / 1.056 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003518/0.5433, allocations: 144.3 kB / 1.056 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.238e-05/0.5434, allocations: 12 kB / 1.056 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00245/0.5458, allocations: 4.024 MB / 1.06 GB, free: 8.32 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.5458, allocations: 7.969 kB / 1.06 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008539/0.5467, allocations: 0.7092 MB / 1.06 GB, free: 7.551 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001551/0.5469, allocations: 172.2 kB / 1.061 GB, free: 7.363 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.253e-05/0.5469, allocations: 12 kB / 1.061 GB, free: 7.352 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002395/0.5472, allocations: 23.97 kB / 1.061 GB, free: 7.328 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.593e-05/0.5472, allocations: 27.95 kB / 1.061 GB, free: 7.301 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.5472, allocations: 12 kB / 1.061 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002966/0.5475, allocations: 338.8 kB / 1.061 GB, free: 6.961 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5475, allocations: 0 / 1.061 GB, free: 6.961 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005232/0.5481, allocations: 144 kB / 1.061 GB, free: 6.82 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.001068/0.5492, allocations: 1.26 MB / 1.062 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001153/0.5503, allocations: 1.033 MB / 1.063 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.5503, allocations: 4 kB / 1.063 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007178/0.5511, allocations: 0.7353 MB / 1.064 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009995/0.5521, allocations: 191.7 kB / 1.064 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00547/0.5575, allocations: 5.484 MB / 1.07 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/0.5579, allocations: 0.9059 MB / 1.07 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002969/0.5582, allocations: 117.3 kB / 1.071 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002156/0.5585, allocations: 199.2 kB / 1.071 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of SimCode: time 5.91e-07/0.5585, allocations: 0 / 1.071 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.932/3.49, allocations: 12.14 MB / 1.083 GB, free: 440 kB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002336/3.49, allocations: 254.1 kB / 1.083 GB, free: 176 kB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.286/5.777, allocations: 4 kB / 1.083 GB, free: 172 kB / 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