Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",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.001522/0.001522, 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.001967/0.001967, 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.356/1.356, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.464/2.464, allocations: 437 MB / 0.7104 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 67.88 kB / 0.8694 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4949/0.4963, allocations: 151.6 MB / 1.017 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005216/0.5015, allocations: 4.278 MB / 1.022 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003261/0.5048, allocations: 2.381 MB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002337/0.5051, allocations: 15.88 kB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0009315/0.506, allocations: 366.3 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006488/0.5067, allocations: 374.2 kB / 1.025 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005752/0.5073, allocations: 327 kB / 1.025 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005275/0.5078, allocations: 0.675 MB / 1.026 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003426/0.5081, allocations: 264.2 kB / 1.026 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002346/0.5084, allocations: 251 kB / 1.026 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002769/0.5087, allocations: 270.9 kB / 1.026 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.447e-05/0.5087, allocations: 28 kB / 1.026 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005026/0.5092, allocations: 431 kB / 1.027 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001308/0.5094, allocations: 143.5 kB / 1.027 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001846/0.5096, allocations: 246.6 kB / 1.027 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006326/0.5102, allocations: 0.7204 MB / 1.028 GB, free: 7.734 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.5102, allocations: 0 / 1.028 GB, free: 7.734 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5102, allocations: 0 / 1.028 GB, free: 7.734 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.5102, allocations: 0 / 1.028 GB, free: 7.734 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0009373/0.5112, allocations: 0.787 MB / 1.029 GB, free: 6.898 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.5112, allocations: 8.031 kB / 1.029 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.077e-05/0.5113, allocations: 86.7 kB / 1.029 GB, free: 6.797 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0012/0.5125, allocations: 180.1 kB / 1.029 GB, free: 6.621 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004421/0.5129, allocations: 404.5 kB / 1.029 GB, free: 6.188 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.513, allocations: 29.36 kB / 1.029 GB, free: 6.156 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.291e-05/0.513, allocations: 36.36 kB / 1.029 GB, free: 6.121 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007111/0.5137, allocations: 0.6547 MB / 1.03 GB, free: 5.379 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.5138, allocations: 3.938 kB / 1.03 GB, free: 5.375 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.874e-05/0.5138, allocations: 19.98 kB / 1.03 GB, free: 5.355 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-05/0.5139, allocations: 55.89 kB / 1.03 GB, free: 5.301 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006106/0.5145, allocations: 499.3 kB / 1.031 GB, free: 4.812 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002543/0.517, allocations: 3.782 MB / 1.034 GB, free: 0.7695 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001533/0.5186, allocations: 0.6283 MB / 1.035 GB, free: 116 kB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002203/0.5188, allocations: 186.4 kB / 1.035 GB, free: 15.92 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.5189, allocations: 8 kB / 1.035 GB, free: 15.91 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.5189, allocations: 38.56 kB / 1.035 GB, free: 15.87 MB / 0.795 GB Notification: Performance of pre-optimization done (n=30): time 1.373e-06/0.5189, allocations: 0 / 1.035 GB, free: 15.87 MB / 0.795 GB Notification: Performance of matching and sorting (n=33): time 0.00196/0.5209, allocations: 1.276 MB / 1.036 GB, free: 14.52 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.5209, allocations: 110.8 kB / 1.036 GB, free: 14.38 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003364/0.5213, allocations: 397.8 kB / 1.037 GB, free: 13.99 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.5213, allocations: 33.7 kB / 1.037 GB, free: 13.95 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.5215, allocations: 279.4 kB / 1.037 GB, free: 13.67 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 7.587e-05/0.5215, allocations: 118.4 kB / 1.037 GB, free: 13.55 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.5217, allocations: 102.1 kB / 1.037 GB, free: 13.44 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.5218, allocations: 358.8 kB / 1.038 GB, free: 13.08 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002287/0.522, allocations: 173 kB / 1.038 GB, free: 12.91 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003401/0.5224, allocations: 375.2 kB / 1.038 GB, free: 12.46 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006048/0.523, allocations: 0.5951 MB / 1.039 GB, free: 11.77 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.523, allocations: 0 / 1.039 GB, free: 11.77 MB / 0.795 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009139/0.5239, allocations: 0.6747 MB / 1.039 GB, free: 11.08 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.5239, allocations: 8.844 kB / 1.039 GB, free: 11.07 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.5239, allocations: 4 kB / 1.039 GB, free: 11.07 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003034/0.5243, allocations: 106.4 kB / 1.04 GB, free: 10.95 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003508/0.5246, allocations: 111.8 kB / 1.04 GB, free: 10.84 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002783/0.5274, allocations: 4.344 MB / 1.044 GB, free: 6.074 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002854/0.5277, allocations: 27.98 kB / 1.044 GB, free: 6.047 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.093e-05/0.5277, allocations: 27.98 kB / 1.044 GB, free: 6.02 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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.0001828/0.5279, allocations: 198.1 kB / 1.044 GB, free: 5.816 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.811e-05/0.528, allocations: 47.44 kB / 1.044 GB, free: 5.77 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007692/0.5288, allocations: 0.5225 MB / 1.045 GB, free: 5.227 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.5288, allocations: 5.125 kB / 1.045 GB, free: 5.223 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.5288, allocations: 4 kB / 1.045 GB, free: 5.219 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.5288, allocations: 3.938 kB / 1.045 GB, free: 5.215 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001492/0.5303, allocations: 1.287 MB / 1.046 GB, free: 3.832 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.5303, allocations: 0 / 1.046 GB, free: 3.832 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002232/0.5306, allocations: 67.89 kB / 1.046 GB, free: 3.766 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002223/0.5308, allocations: 90.73 kB / 1.046 GB, free: 3.668 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/0.5308, allocations: 8 kB / 1.046 GB, free: 3.66 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002689/0.5335, allocations: 4.346 MB / 1.05 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.5336, allocations: 7.969 kB / 1.05 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007839/0.5343, allocations: 0.7698 MB / 1.051 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001534/0.5345, allocations: 156.4 kB / 1.051 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.254e-05/0.5346, allocations: 11.91 kB / 1.051 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002842/0.5349, allocations: 27.97 kB / 1.051 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.026e-05/0.5349, allocations: 35.84 kB / 1.051 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.5349, allocations: 8 kB / 1.051 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002763/0.5352, allocations: 283.1 kB / 1.052 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5352, allocations: 0 / 1.052 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0006061/0.5358, allocations: 120 kB / 1.052 GB, free: 13.42 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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.001259/0.5371, allocations: 1.33 MB / 1.053 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001309/0.5384, allocations: 0.8175 MB / 1.054 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.5384, allocations: 0 / 1.054 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007157/0.5392, allocations: 0.5551 MB / 1.054 GB, free: 10.57 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008634/0.54, allocations: 135.9 kB / 1.055 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004906/0.545, allocations: 4.603 MB / 1.059 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004032/0.5454, allocations: 0.8586 MB / 1.06 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.000283/0.5457, allocations: 112.5 kB / 1.06 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001813/0.5459, allocations: 151.4 kB / 1.06 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of SimCode: time 6.22e-07/0.5459, allocations: 0 / 1.06 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.021/2.567, allocations: 9.879 MB / 1.07 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/14.4, allocations: 0 / 1.07 GB, free: 10.66 MB / 0.8262 GB (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches