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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001565/0.001565, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001696/0.001696, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.363/1.363, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.354/2.354, allocations: 437 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 63.89 kB / 0.8693 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5086/0.5098, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.005352/0.5152, allocations: 4.894 MB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003089/0.5183, allocations: 2.487 MB / 1.025 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001778/0.5185, allocations: 23.81 kB / 1.025 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000926/0.5194, allocations: 413.8 kB / 1.025 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.00065/0.52, allocations: 445.6 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000619/0.5207, allocations: 394.8 kB / 1.026 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007121/0.5214, allocations: 0.9251 MB / 1.027 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004222/0.5218, allocations: 360.8 kB / 1.027 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002985/0.5221, allocations: 330.7 kB / 1.027 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003395/0.5225, allocations: 346.5 kB / 1.028 GB, free: 7.859 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.527e-05/0.5225, allocations: 36 kB / 1.028 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004915/0.523, allocations: 407.1 kB / 1.028 GB, free: 7.426 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001543/0.5232, allocations: 187.4 kB / 1.028 GB, free: 7.242 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002513/0.5235, allocations: 322.2 kB / 1.029 GB, free: 6.926 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007196/0.5242, allocations: 0.8682 MB / 1.029 GB, free: 6.055 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.5242, allocations: 8 kB / 1.03 GB, free: 6.047 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5242, allocations: 0 / 1.03 GB, free: 6.047 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.5242, allocations: 0 / 1.03 GB, free: 6.047 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.001092/0.5253, allocations: 0.9502 MB / 1.03 GB, free: 5.047 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.737e-05/0.5254, allocations: 11.97 kB / 1.03 GB, free: 5.035 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.82e-05/0.5254, allocations: 94.7 kB / 1.031 GB, free: 4.934 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/0.5266, allocations: 203.7 kB / 1.031 GB, free: 4.734 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005538/0.5271, allocations: 0.4905 MB / 1.031 GB, free: 4.203 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.5271, allocations: 33.36 kB / 1.031 GB, free: 4.172 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.063e-05/0.5272, allocations: 48.36 kB / 1.031 GB, free: 4.125 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008916/0.5281, allocations: 0.8485 MB / 1.032 GB, free: 3.148 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.5281, allocations: 3.938 kB / 1.032 GB, free: 3.145 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.187e-05/0.5282, allocations: 20 kB / 1.032 GB, free: 3.125 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.659e-05/0.5283, allocations: 72.95 kB / 1.032 GB, free: 3.051 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007346/0.529, allocations: 0.5656 MB / 1.033 GB, free: 2.488 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003605/0.5326, allocations: 5.654 MB / 1.038 GB, free: 12.44 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005551/0.5332, allocations: 466 kB / 1.039 GB, free: 11.97 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002677/0.5335, allocations: 233.2 kB / 1.039 GB, free: 11.74 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.5335, allocations: 7.984 kB / 1.039 GB, free: 11.73 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.5335, allocations: 34.55 kB / 1.039 GB, free: 11.69 MB / 0.795 GB Notification: Performance of pre-optimization done (n=32): time 1.352e-06/0.5335, allocations: 4 kB / 1.039 GB, free: 11.69 MB / 0.795 GB Notification: Performance of matching and sorting (n=33): time 0.002164/0.5357, allocations: 1.497 MB / 1.04 GB, free: 10.07 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.5357, allocations: 55.69 kB / 1.041 GB, free: 10.01 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004326/0.5362, allocations: 0.5067 MB / 1.041 GB, free: 9.488 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.5362, allocations: 29.7 kB / 1.041 GB, free: 9.453 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001986/0.5364, allocations: 362.8 kB / 1.041 GB, free: 9.094 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 7.289e-05/0.5365, allocations: 114.4 kB / 1.041 GB, free: 8.98 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.5366, allocations: 114.2 kB / 1.042 GB, free: 8.863 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.5367, allocations: 366.8 kB / 1.042 GB, free: 8.496 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002559/0.537, allocations: 201.2 kB / 1.042 GB, free: 8.297 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003747/0.5374, allocations: 443.3 kB / 1.043 GB, free: 7.75 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007197/0.5381, allocations: 0.6876 MB / 1.043 GB, free: 6.945 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.5381, allocations: 8 kB / 1.043 GB, free: 6.938 MB / 0.795 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001177/0.5393, allocations: 0.8056 MB / 1.044 GB, free: 6.109 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.5393, allocations: 9.875 kB / 1.044 GB, free: 6.102 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.5393, allocations: 12.09 kB / 1.044 GB, free: 6.09 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004205/0.5398, allocations: 156 kB / 1.044 GB, free: 5.922 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003963/0.5402, allocations: 123.8 kB / 1.044 GB, free: 5.801 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002933/0.5431, allocations: 4.344 MB / 1.049 GB, free: 1.039 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002984/0.5434, allocations: 31.97 kB / 1.049 GB, free: 1.008 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.596e-05/0.5435, allocations: 32 kB / 1.049 GB, free: 0.9766 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.0002054/0.5437, allocations: 221.5 kB / 1.049 GB, free: 0.75 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.988e-05/0.5438, allocations: 63.25 kB / 1.049 GB, free: 0.6875 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008811/0.5447, allocations: 0.6011 MB / 1.049 GB, free: 68 kB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.5447, allocations: 0 / 1.049 GB, free: 68 kB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.5447, allocations: 7.938 kB / 1.049 GB, free: 60 kB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.5447, allocations: 3.984 kB / 1.049 GB, free: 56 kB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001536/0.5462, allocations: 1.258 MB / 1.051 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.5463, allocations: 8.219 kB / 1.051 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002451/0.5465, allocations: 51.95 kB / 1.051 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003453/0.5469, allocations: 140.1 kB / 1.051 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/0.5469, allocations: 15.94 kB / 1.051 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002798/0.5497, allocations: 4.329 MB / 1.055 GB, free: 9.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.5497, allocations: 11.95 kB / 1.055 GB, free: 9.719 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000861/0.5506, allocations: 0.7077 MB / 1.056 GB, free: 8.957 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001612/0.5508, allocations: 172.2 kB / 1.056 GB, free: 8.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.786e-05/0.5508, allocations: 12 kB / 1.056 GB, free: 8.758 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002317/0.5511, allocations: 19.97 kB / 1.056 GB, free: 8.738 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.48e-05/0.5511, allocations: 31.91 kB / 1.056 GB, free: 8.707 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.5512, allocations: 12 kB / 1.056 GB, free: 8.695 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002966/0.5515, allocations: 338.8 kB / 1.056 GB, free: 8.367 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5515, allocations: 0 / 1.056 GB, free: 8.367 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005069/0.552, allocations: 140 kB / 1.057 GB, free: 8.23 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.001098/0.5531, allocations: 1.269 MB / 1.058 GB, free: 6.898 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001257/0.5543, allocations: 1.08 MB / 1.059 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5544, allocations: 0 / 1.059 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007375/0.5551, allocations: 0.7352 MB / 1.06 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008723/0.556, allocations: 204.4 kB / 1.06 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005348/0.5613, allocations: 5.255 MB / 1.065 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000406/0.5618, allocations: 0.902 MB / 1.066 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000306/0.5621, allocations: 125.3 kB / 1.066 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002137/0.5623, allocations: 195.4 kB / 1.066 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.5623, allocations: 0 / 1.066 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.239/2.801, allocations: 12.69 MB / 1.078 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/15.1, allocations: 0 / 1.078 GB, free: 1.418 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