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.00138/0.00138, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001597/0.001597, allocations: 191 kB / 16.25 MB, free: 6.637 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.27/1.27, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.392/2.392, allocations: 437 MB / 0.7101 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 59.91 kB / 0.8689 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5027/0.5039, allocations: 151.6 MB / 1.017 GB, free: 2.691 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.004736/0.5087, allocations: 4.324 MB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00271/0.5114, allocations: 2.361 MB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001418/0.5116, allocations: 19.88 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0008588/0.5125, allocations: 342.5 kB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005515/0.513, allocations: 346.5 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005012/0.5135, allocations: 291.4 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005538/0.5141, allocations: 0.6866 MB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003824/0.5145, allocations: 288.2 kB / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002391/0.5147, allocations: 258.9 kB / 1.026 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002662/0.515, allocations: 274.9 kB / 1.026 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.048e-05/0.515, allocations: 28 kB / 1.026 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004506/0.5155, allocations: 431 kB / 1.026 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.5156, allocations: 143.5 kB / 1.026 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001719/0.5158, allocations: 238.7 kB / 1.027 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006279/0.5164, allocations: 0.7592 MB / 1.027 GB, free: 7.922 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.5165, allocations: 0 / 1.027 GB, free: 7.922 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5165, allocations: 0 / 1.027 GB, free: 7.922 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.5165, allocations: 0 / 1.027 GB, free: 7.922 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.000894/0.5174, allocations: 0.7948 MB / 1.028 GB, free: 7.078 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.5174, allocations: 12.03 kB / 1.028 GB, free: 7.066 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.878e-05/0.5175, allocations: 74.7 kB / 1.028 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/0.5187, allocations: 184.1 kB / 1.028 GB, free: 6.805 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004162/0.5191, allocations: 400.5 kB / 1.029 GB, free: 6.375 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.5191, allocations: 29.36 kB / 1.029 GB, free: 6.344 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.635e-05/0.5192, allocations: 32.36 kB / 1.029 GB, free: 6.312 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007253/0.5199, allocations: 0.6519 MB / 1.03 GB, free: 5.57 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.52, allocations: 3.938 kB / 1.03 GB, free: 5.566 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.697e-05/0.52, allocations: 19.98 kB / 1.03 GB, free: 5.547 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.54e-05/0.5201, allocations: 59.91 kB / 1.03 GB, free: 5.488 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006125/0.5207, allocations: 499.3 kB / 1.03 GB, free: 5 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002574/0.5233, allocations: 3.794 MB / 1.034 GB, free: 0.9453 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001486/0.5248, allocations: 0.6328 MB / 1.034 GB, free: 292 kB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001967/0.525, allocations: 170.5 kB / 1.035 GB, free: 112 kB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.525, allocations: 8 kB / 1.035 GB, free: 104 kB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.525, allocations: 42.5 kB / 1.035 GB, free: 52 kB / 0.7794 GB Notification: Performance of pre-optimization done (n=30): time 1.342e-06/0.525, allocations: 0 / 1.035 GB, free: 52 kB / 0.7794 GB Notification: Performance of matching and sorting (n=33): time 0.001873/0.5269, allocations: 1.265 MB / 1.036 GB, free: 14.71 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.527, allocations: 114.8 kB / 1.036 GB, free: 14.57 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003224/0.5273, allocations: 393.8 kB / 1.036 GB, free: 14.18 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.5273, allocations: 33.7 kB / 1.036 GB, free: 14.14 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.5275, allocations: 283.4 kB / 1.037 GB, free: 13.86 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 7.304e-05/0.5276, allocations: 115 kB / 1.037 GB, free: 13.75 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.5277, allocations: 102 kB / 1.037 GB, free: 13.64 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.5278, allocations: 358.7 kB / 1.037 GB, free: 13.28 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000218/0.528, allocations: 185 kB / 1.037 GB, free: 13.1 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003082/0.5283, allocations: 367.3 kB / 1.038 GB, free: 12.65 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005783/0.5289, allocations: 0.5951 MB / 1.038 GB, free: 11.96 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.5289, allocations: 7.938 kB / 1.038 GB, free: 11.96 MB / 0.795 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0008948/0.5298, allocations: 0.6669 MB / 1.039 GB, free: 11.27 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.5298, allocations: 8 kB / 1.039 GB, free: 11.27 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.5299, allocations: 7.984 kB / 1.039 GB, free: 11.26 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000297/0.5302, allocations: 103.1 kB / 1.039 GB, free: 11.15 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003351/0.5305, allocations: 115.8 kB / 1.039 GB, free: 11.04 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00264/0.5332, allocations: 4.344 MB / 1.043 GB, free: 6.266 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002713/0.5334, allocations: 31.97 kB / 1.043 GB, free: 6.234 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.121e-05/0.5335, allocations: 28.16 kB / 1.043 GB, free: 6.207 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.0001765/0.5337, allocations: 200.7 kB / 1.044 GB, free: 6.004 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.545e-05/0.5338, allocations: 47.44 kB / 1.044 GB, free: 5.957 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007646/0.5345, allocations: 0.5306 MB / 1.044 GB, free: 5.406 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.5345, allocations: 4 kB / 1.044 GB, free: 5.402 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.5346, allocations: 4 kB / 1.044 GB, free: 5.398 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.5346, allocations: 3.984 kB / 1.044 GB, free: 5.395 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001438/0.536, allocations: 1.276 MB / 1.045 GB, free: 4.023 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.536, allocations: 7.938 kB / 1.045 GB, free: 4.016 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002146/0.5362, allocations: 63.89 kB / 1.046 GB, free: 3.953 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002246/0.5365, allocations: 90.8 kB / 1.046 GB, free: 3.855 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/0.5365, allocations: 11.98 kB / 1.046 GB, free: 3.844 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002573/0.5391, allocations: 4.337 MB / 1.05 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.5391, allocations: 0 / 1.05 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007346/0.5398, allocations: 0.7857 MB / 1.051 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/0.54, allocations: 152.5 kB / 1.051 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.235e-05/0.54, allocations: 15.84 kB / 1.051 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000279/0.5403, allocations: 23.97 kB / 1.051 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.688e-05/0.5404, allocations: 39.84 kB / 1.051 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.5404, allocations: 16 kB / 1.051 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002248/0.5406, allocations: 275.1 kB / 1.051 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5406, allocations: 0 / 1.051 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005425/0.5412, allocations: 124 kB / 1.051 GB, free: 13.6 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.0009752/0.5422, allocations: 1.33 MB / 1.053 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001052/0.5432, allocations: 0.8172 MB / 1.053 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5432, allocations: 256 / 1.053 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006326/0.5439, allocations: 0.5505 MB / 1.054 GB, free: 10.76 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007935/0.5447, allocations: 137 kB / 1.054 GB, free: 10.63 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004612/0.5493, allocations: 4.755 MB / 1.059 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.5497, allocations: 0.8586 MB / 1.06 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002456/0.5499, allocations: 100.5 kB / 1.06 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001807/0.5501, allocations: 151.4 kB / 1.06 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of SimCode: time 3.4e-07/0.5501, allocations: 4 kB / 1.06 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02485/0.575, allocations: 9.823 MB / 1.069 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001948/0.5752, allocations: 236.4 kB / 1.07 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.875/2.45, allocations: 3.875 kB / 1.07 GB, free: 10.54 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