Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource",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.0008768/0.0008768, allocations: 91.84 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.00511/0.00511, allocations: 169.9 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.252/1.252, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.346/2.346, allocations: 437.8 MB / 0.7121 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002995/0.0002995, allocations: 8 kB / 0.873 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5099/0.5102, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.002745/0.513, allocations: 2.333 MB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002006/0.515, allocations: 1.41 MB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.347e-05/0.5151, allocations: 0 / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001342/0.5153, allocations: 23.78 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003454/0.5156, allocations: 127.6 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004149/0.516, allocations: 163.6 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003157/0.5164, allocations: 323.1 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004217/0.5168, allocations: 230.1 kB / 1.028 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.517, allocations: 79.64 kB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002098/0.5172, allocations: 95.7 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.5172, allocations: 4 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003167/0.5175, allocations: 223.5 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.737e-05/0.5176, allocations: 59.8 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.652e-05/0.5177, allocations: 93.31 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003312/0.518, allocations: 289.3 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.518, allocations: 0 / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5181, allocations: 3.938 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.5181, allocations: 0 / 1.028 GB, free: 10.36 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.000555/0.5186, allocations: 443.1 kB / 1.029 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.5187, allocations: 8.031 kB / 1.029 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.018e-05/0.5187, allocations: 54.73 kB / 1.029 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004878/0.5192, allocations: 64.67 kB / 1.029 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.5194, allocations: 224 kB / 1.029 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.5195, allocations: 16.58 kB / 1.029 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.499e-05/0.5195, allocations: 16.38 kB / 1.029 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003712/0.5199, allocations: 279.4 kB / 1.029 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.5199, allocations: 4 kB / 1.029 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/0.5199, allocations: 7.984 kB / 1.03 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.469e-05/0.52, allocations: 20.22 kB / 1.03 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003037/0.5203, allocations: 208.5 kB / 1.03 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001486/0.5218, allocations: 1.572 MB / 1.031 GB, free: 7.195 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003498/0.5221, allocations: 319.3 kB / 1.032 GB, free: 6.828 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.998e-05/0.5222, allocations: 69.83 kB / 1.032 GB, free: 6.754 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.5222, allocations: 3.984 kB / 1.032 GB, free: 6.75 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.5223, allocations: 34.56 kB / 1.032 GB, free: 6.707 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.5223, allocations: 0 / 1.032 GB, free: 6.707 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.000487/0.5228, allocations: 248.4 kB / 1.032 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.5228, allocations: 81.3 kB / 1.032 GB, free: 6.359 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.523, allocations: 203.4 kB / 1.032 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.523, allocations: 25.7 kB / 1.032 GB, free: 6.121 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.184e-05/0.5231, allocations: 155.6 kB / 1.032 GB, free: 5.961 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.932e-05/0.5231, allocations: 43.44 kB / 1.032 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.684e-05/0.5232, allocations: 25.7 kB / 1.032 GB, free: 5.887 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.811e-05/0.5233, allocations: 322.8 kB / 1.033 GB, free: 5.562 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.5234, allocations: 63.97 kB / 1.033 GB, free: 5.5 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.5235, allocations: 160.6 kB / 1.033 GB, free: 5.305 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00025/0.5238, allocations: 226.9 kB / 1.033 GB, free: 5.043 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5238, allocations: 4 kB / 1.033 GB, free: 5.039 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003543/0.5241, allocations: 257.2 kB / 1.033 GB, free: 4.781 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.668e-05/0.5242, allocations: 173.8 kB / 1.034 GB, free: 4.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.5243, allocations: 4 kB / 1.034 GB, free: 4.566 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.5243, allocations: 4 kB / 1.034 GB, free: 4.562 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/0.5245, allocations: 60.02 kB / 1.034 GB, free: 4.504 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.5245, allocations: 8 kB / 1.034 GB, free: 4.496 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.5246, allocations: 15.92 kB / 1.034 GB, free: 4.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.5247, allocations: 16 kB / 1.034 GB, free: 4.465 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.132e-06/0.5247, allocations: 4 kB / 1.034 GB, free: 4.461 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002672/0.525, allocations: 199.5 kB / 1.034 GB, free: 4.266 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.525, allocations: 4 kB / 1.034 GB, free: 4.262 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.839e-06/0.525, allocations: 4.375 kB / 1.034 GB, free: 4.258 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.5251, allocations: 51.91 kB / 1.034 GB, free: 4.207 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.5251, allocations: 4 kB / 1.034 GB, free: 4.203 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.5253, allocations: 15.84 kB / 1.034 GB, free: 4.188 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.5253, allocations: 8 kB / 1.034 GB, free: 4.18 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001221/0.5254, allocations: 225 kB / 1.034 GB, free: 3.949 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.015e-05/0.5255, allocations: 11.91 kB / 1.034 GB, free: 3.938 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002217/0.5257, allocations: 146.9 kB / 1.034 GB, free: 3.793 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.5257, allocations: 0 / 1.034 GB, free: 3.793 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.5257, allocations: 7.938 kB / 1.034 GB, free: 3.785 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.5257, allocations: 8.016 kB / 1.034 GB, free: 3.777 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008345/0.5266, allocations: 0.7158 MB / 1.035 GB, free: 2.977 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.5266, allocations: 4 kB / 1.035 GB, free: 2.973 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.831e-05/0.5267, allocations: 31.86 kB / 1.035 GB, free: 2.941 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.5267, allocations: 0 / 1.035 GB, free: 2.941 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.5267, allocations: 8 kB / 1.035 GB, free: 2.934 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.5267, allocations: 4 kB / 1.035 GB, free: 2.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.5267, allocations: 4 kB / 1.035 GB, free: 2.926 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002757/0.527, allocations: 386.6 kB / 1.035 GB, free: 2.504 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.591e-05/0.5271, allocations: 108.8 kB / 1.036 GB, free: 2.379 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/0.5271, allocations: 8 kB / 1.036 GB, free: 2.371 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.5273, allocations: 7.984 kB / 1.036 GB, free: 2.363 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.537e-05/0.5273, allocations: 19.86 kB / 1.036 GB, free: 2.344 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.5273, allocations: 8 kB / 1.036 GB, free: 2.336 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001089/0.5274, allocations: 149.2 kB / 1.036 GB, free: 2.191 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5274, allocations: 0 / 1.036 GB, free: 2.191 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004681/0.5279, allocations: 68 kB / 1.036 GB, free: 2.125 MB / 0.7794 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005087/0.5284, allocations: 0.9182 MB / 1.037 GB, free: 1.148 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003625/0.5288, allocations: 263.5 kB / 1.037 GB, free: 0.8906 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5288, allocations: 1.5 kB / 1.037 GB, free: 0.8906 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.483e-05/0.5289, allocations: 60.39 kB / 1.037 GB, free: 0.832 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004653/0.5294, allocations: 37.42 kB / 1.037 GB, free: 0.7969 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002138/0.5315, allocations: 2.391 MB / 1.039 GB, free: 14.2 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.5318, allocations: 0.7324 MB / 1.04 GB, free: 13.45 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001851/0.532, allocations: 77.47 kB / 1.04 GB, free: 13.37 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.683e-05/0.5321, allocations: 47.41 kB / 1.04 GB, free: 13.32 MB / 0.795 GB Notification: Performance of SimCode: time 3.11e-07/0.5321, allocations: 0 / 1.04 GB, free: 13.32 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4763/1.008, allocations: 3.257 MB / 1.043 GB, free: 10.25 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002021/1.009, allocations: 235 kB / 1.044 GB, free: 9.996 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.657/2.666, allocations: 0 / 1.044 GB, free: 9.996 MB / 0.795 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches