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.001228/0.001228, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001257/0.001257, allocations: 193.2 kB / 16.14 MB, free: 6.691 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.209/1.209, allocations: 222.9 MB / 239.8 MB, free: 4.613 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.286/2.286, allocations: 437 MB / 0.7099 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 67.88 kB / 0.8687 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4987/0.4999, allocations: 151.6 MB / 1.017 GB, free: 2.758 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.00465/0.5045, allocations: 4.328 MB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002854/0.5074, allocations: 2.385 MB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.5076, allocations: 15.88 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0008639/0.5085, allocations: 342.7 kB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005595/0.509, allocations: 346.5 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005105/0.5095, allocations: 287.4 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006464/0.5102, allocations: 0.866 MB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003611/0.5106, allocations: 260.1 kB / 1.025 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002303/0.5108, allocations: 238.9 kB / 1.026 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000268/0.5111, allocations: 266.9 kB / 1.026 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.919e-05/0.5111, allocations: 20 kB / 1.026 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000612/0.5118, allocations: 0.534 MB / 1.026 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.5119, allocations: 131.5 kB / 1.026 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001777/0.5121, allocations: 222.7 kB / 1.027 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006524/0.5127, allocations: 0.7514 MB / 1.027 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.5127, allocations: 0 / 1.027 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.022e-06/0.5127, allocations: 0 / 1.027 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.285e-06/0.5128, allocations: 0 / 1.027 GB, free: 7.77 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.0009515/0.5137, allocations: 0.7987 MB / 1.028 GB, free: 6.922 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.5137, allocations: 11.97 kB / 1.028 GB, free: 6.91 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.025e-05/0.5138, allocations: 74.72 kB / 1.028 GB, free: 6.828 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00123/0.5151, allocations: 184.1 kB / 1.028 GB, free: 6.648 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004317/0.5155, allocations: 404.4 kB / 1.029 GB, free: 6.215 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.5155, allocations: 37.36 kB / 1.029 GB, free: 6.176 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.116e-05/0.5156, allocations: 28.38 kB / 1.029 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000738/0.5163, allocations: 0.6469 MB / 1.03 GB, free: 5.41 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.5164, allocations: 7.922 kB / 1.03 GB, free: 5.402 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.752e-05/0.5164, allocations: 27.98 kB / 1.03 GB, free: 5.375 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.727e-05/0.5165, allocations: 51.91 kB / 1.03 GB, free: 5.324 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000639/0.5171, allocations: 496.9 kB / 1.03 GB, free: 4.84 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002586/0.5197, allocations: 3.79 MB / 1.034 GB, free: 0.7891 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/0.5212, allocations: 0.6283 MB / 1.034 GB, free: 136 kB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002204/0.5215, allocations: 178.5 kB / 1.035 GB, free: 15.95 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.5215, allocations: 8 kB / 1.035 GB, free: 15.94 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/0.5215, allocations: 34.5 kB / 1.035 GB, free: 15.89 MB / 0.795 GB Notification: Performance of pre-optimization done (n=30): time 1.473e-06/0.5215, allocations: 4 kB / 1.035 GB, free: 15.89 MB / 0.795 GB Notification: Performance of matching and sorting (n=33): time 0.001917/0.5235, allocations: 1.269 MB / 1.036 GB, free: 14.55 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.5235, allocations: 110.8 kB / 1.036 GB, free: 14.41 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003328/0.5238, allocations: 401.8 kB / 1.036 GB, free: 14.02 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.5239, allocations: 29.7 kB / 1.036 GB, free: 13.98 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.524, allocations: 287.3 kB / 1.037 GB, free: 13.7 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 7.497e-05/0.5241, allocations: 122.4 kB / 1.037 GB, free: 13.57 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.5242, allocations: 102 kB / 1.037 GB, free: 13.46 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.5244, allocations: 354.8 kB / 1.037 GB, free: 13.11 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002323/0.5246, allocations: 177 kB / 1.037 GB, free: 12.94 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003231/0.5249, allocations: 375.2 kB / 1.038 GB, free: 12.48 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005872/0.5255, allocations: 0.5913 MB / 1.038 GB, free: 11.8 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.5255, allocations: 0 / 1.038 GB, free: 11.8 MB / 0.795 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009213/0.5265, allocations: 0.6674 MB / 1.039 GB, free: 11.12 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.5265, allocations: 16.14 kB / 1.039 GB, free: 11.1 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.5265, allocations: 8 kB / 1.039 GB, free: 11.09 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002968/0.5268, allocations: 94.45 kB / 1.039 GB, free: 10.99 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003485/0.5272, allocations: 115.8 kB / 1.039 GB, free: 10.88 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002542/0.5297, allocations: 4.037 MB / 1.043 GB, free: 6.438 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002795/0.53, allocations: 31.97 kB / 1.043 GB, free: 6.406 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.513e-05/0.53, allocations: 24 kB / 1.043 GB, free: 6.383 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.0001799/0.5302, allocations: 198.2 kB / 1.043 GB, free: 6.18 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.727e-05/0.5303, allocations: 47.44 kB / 1.043 GB, free: 6.133 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007702/0.5311, allocations: 0.5188 MB / 1.044 GB, free: 5.594 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.5311, allocations: 7.938 kB / 1.044 GB, free: 5.586 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.5311, allocations: 4 kB / 1.044 GB, free: 5.582 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.5311, allocations: 3.984 kB / 1.044 GB, free: 5.578 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001482/0.5326, allocations: 1.284 MB / 1.045 GB, free: 4.199 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.5326, allocations: 96 / 1.045 GB, free: 4.199 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002096/0.5328, allocations: 71.83 kB / 1.045 GB, free: 4.129 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002334/0.5331, allocations: 86.5 kB / 1.045 GB, free: 4.035 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/0.5331, allocations: 8 kB / 1.045 GB, free: 4.027 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002469/0.5356, allocations: 4.032 MB / 1.049 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5356, allocations: 3.938 kB / 1.049 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007574/0.5364, allocations: 0.7787 MB / 1.05 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.5365, allocations: 152.5 kB / 1.05 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.296e-05/0.5366, allocations: 19.86 kB / 1.05 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002735/0.5369, allocations: 19.98 kB / 1.05 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.466e-05/0.5369, allocations: 27.95 kB / 1.05 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.5369, allocations: 20 kB / 1.05 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002348/0.5372, allocations: 279.1 kB / 1.051 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5372, allocations: 0 / 1.051 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005613/0.5378, allocations: 127.9 kB / 1.051 GB, free: 14.11 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.0009625/0.5387, allocations: 1.331 MB / 1.052 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001002/0.5397, allocations: 0.8051 MB / 1.053 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.5398, allocations: 3.938 kB / 1.053 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006052/0.5404, allocations: 0.5482 MB / 1.053 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009015/0.5413, allocations: 122.9 kB / 1.053 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004657/0.5459, allocations: 4.755 MB / 1.058 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.5463, allocations: 0.8586 MB / 1.059 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002522/0.5466, allocations: 108.5 kB / 1.059 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001752/0.5467, allocations: 151.4 kB / 1.059 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.5467, allocations: 0 / 1.059 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.066/1.613, allocations: 9.545 MB / 1.068 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000242/1.613, allocations: 237.2 kB / 1.069 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.46/4.073, allocations: 0 / 1.069 GB, free: 11.32 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