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.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.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.0008024/0.0008021, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005049/0.005049, allocations: 168.6 kB / 16.26 MB, free: 6.652 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.272/1.272, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.442/2.442, allocations: 437.8 MB / 0.7121 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003367/0.0003368, allocations: 8.234 kB / 0.8729 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5933/0.5936, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.004167/0.5978, allocations: 3.927 MB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003059/0.6009, allocations: 2.35 MB / 1.029 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001482/0.6011, allocations: 15.88 kB / 1.029 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001891/0.6013, allocations: 67.42 kB / 1.029 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006702/0.602, allocations: 350.4 kB / 1.03 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005757/0.6026, allocations: 300.6 kB / 1.03 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007066/0.6033, allocations: 0.866 MB / 1.031 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007076/0.604, allocations: 454.6 kB / 1.031 GB, free: 7.469 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002408/0.6042, allocations: 219 kB / 1.031 GB, free: 7.254 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003053/0.6045, allocations: 266.8 kB / 1.032 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.44e-05/0.6046, allocations: 16 kB / 1.032 GB, free: 6.977 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006402/0.6052, allocations: 0.5262 MB / 1.032 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.6054, allocations: 131.5 kB / 1.032 GB, free: 6.32 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001928/0.6056, allocations: 248.4 kB / 1.033 GB, free: 6.07 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006774/0.6062, allocations: 0.734 MB / 1.033 GB, free: 5.336 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.6063, allocations: 3.984 kB / 1.033 GB, free: 5.332 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.054e-06/0.6063, allocations: 0 / 1.033 GB, free: 5.332 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.6063, allocations: 0 / 1.033 GB, free: 5.332 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.000906/0.6072, allocations: 0.7054 MB / 1.034 GB, free: 4.578 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.6072, allocations: 12.03 kB / 1.034 GB, free: 4.566 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.7e-05/0.6073, allocations: 78.69 kB / 1.034 GB, free: 4.48 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/0.6086, allocations: 192 kB / 1.034 GB, free: 4.293 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004603/0.609, allocations: 404.4 kB / 1.035 GB, free: 3.859 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.6091, allocations: 25.38 kB / 1.035 GB, free: 3.832 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.033e-05/0.6091, allocations: 40.36 kB / 1.035 GB, free: 3.793 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007875/0.6099, allocations: 0.6547 MB / 1.035 GB, free: 3.047 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.61, allocations: 0 / 1.035 GB, free: 3.047 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.935e-05/0.61, allocations: 16 kB / 1.035 GB, free: 3.031 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.573e-05/0.6101, allocations: 55.91 kB / 1.035 GB, free: 2.977 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006523/0.6108, allocations: 0.4908 MB / 1.036 GB, free: 2.488 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002732/0.6135, allocations: 3.786 MB / 1.04 GB, free: 14.44 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001553/0.6151, allocations: 0.636 MB / 1.04 GB, free: 13.78 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002203/0.6153, allocations: 174.5 kB / 1.04 GB, free: 13.6 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.6153, allocations: 11.94 kB / 1.04 GB, free: 13.59 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.6154, allocations: 38.56 kB / 1.04 GB, free: 13.54 MB / 0.795 GB Notification: Performance of pre-optimization done (n=30): time 1.523e-06/0.6154, allocations: 0 / 1.04 GB, free: 13.54 MB / 0.795 GB Notification: Performance of matching and sorting (n=33): time 0.002069/0.6174, allocations: 1.288 MB / 1.042 GB, free: 12.18 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.285e-05/0.6175, allocations: 110.8 kB / 1.042 GB, free: 12.04 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003636/0.6179, allocations: 397.8 kB / 1.042 GB, free: 11.65 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.6179, allocations: 33.7 kB / 1.042 GB, free: 11.61 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.6181, allocations: 279.4 kB / 1.042 GB, free: 11.33 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.112e-05/0.6182, allocations: 118.4 kB / 1.043 GB, free: 11.21 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.75e-05/0.6182, allocations: 45.7 kB / 1.043 GB, free: 11.16 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.6184, allocations: 358.8 kB / 1.043 GB, free: 10.8 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002388/0.6186, allocations: 169 kB / 1.043 GB, free: 10.63 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003401/0.6189, allocations: 375.2 kB / 1.044 GB, free: 10.18 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006205/0.6196, allocations: 0.599 MB / 1.044 GB, free: 9.488 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.6196, allocations: 3.938 kB / 1.044 GB, free: 9.484 MB / 0.795 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009418/0.6205, allocations: 0.6675 MB / 1.045 GB, free: 8.801 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.6206, allocations: 8 kB / 1.045 GB, free: 8.793 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.6206, allocations: 12.09 kB / 1.045 GB, free: 8.781 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00034/0.6209, allocations: 102.4 kB / 1.045 GB, free: 8.672 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000355/0.6213, allocations: 109.2 kB / 1.045 GB, free: 8.566 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00274/0.624, allocations: 4.04 MB / 1.049 GB, free: 4.121 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002929/0.6243, allocations: 27.98 kB / 1.049 GB, free: 4.094 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.404e-05/0.6244, allocations: 27.98 kB / 1.049 GB, free: 4.066 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.0002008/0.6246, allocations: 195 kB / 1.049 GB, free: 3.867 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.953e-05/0.6247, allocations: 55.42 kB / 1.049 GB, free: 3.812 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008283/0.6255, allocations: 0.5152 MB / 1.05 GB, free: 3.277 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.6255, allocations: 4 kB / 1.05 GB, free: 3.273 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.6256, allocations: 4 kB / 1.05 GB, free: 3.27 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.6256, allocations: 4 kB / 1.05 GB, free: 3.266 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001543/0.6271, allocations: 1.291 MB / 1.051 GB, free: 1.879 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.6271, allocations: 4 kB / 1.051 GB, free: 1.875 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000221/0.6274, allocations: 63.89 kB / 1.051 GB, free: 1.812 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002358/0.6276, allocations: 82.52 kB / 1.051 GB, free: 1.723 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/0.6276, allocations: 12 kB / 1.051 GB, free: 1.711 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002627/0.6303, allocations: 4.04 MB / 1.055 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.6303, allocations: 4 kB / 1.055 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007857/0.6311, allocations: 0.7709 MB / 1.056 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/0.6312, allocations: 156.4 kB / 1.056 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.028e-05/0.6313, allocations: 15.94 kB / 1.056 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002969/0.6316, allocations: 23.97 kB / 1.056 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.919e-05/0.6317, allocations: 35.91 kB / 1.056 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.6317, allocations: 8 kB / 1.056 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000255/0.6319, allocations: 283.1 kB / 1.056 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6319, allocations: 7.938 kB / 1.056 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0006027/0.6326, allocations: 123.9 kB / 1.056 GB, free: 11.79 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.001044/0.6336, allocations: 1.331 MB / 1.058 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001108/0.6347, allocations: 0.7977 MB / 1.059 GB, free: 9.559 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.6347, allocations: 0 / 1.059 GB, free: 9.559 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006474/0.6354, allocations: 0.5518 MB / 1.059 GB, free: 8.969 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009974/0.6364, allocations: 125.9 kB / 1.059 GB, free: 8.844 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004955/0.6414, allocations: 4.775 MB / 1.064 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.6418, allocations: 0.8742 MB / 1.065 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002666/0.642, allocations: 100.5 kB / 1.065 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001852/0.6422, allocations: 155.4 kB / 1.065 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of SimCode: time 4.81e-07/0.6422, allocations: 0 / 1.065 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02129/0.6635, allocations: 9.394 MB / 1.074 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002206/0.6638, allocations: 236.6 kB / 1.074 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.803/2.467, allocations: 0 / 1.074 GB, free: 9.156 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