Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_11_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.007178/0.007178, allocations: 96.56 kB / 15.73 MB, free: 6.031 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.001935/0.001935, allocations: 196.3 kB / 16.68 MB, free: 5.961 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.747/2.747, allocations: 469.8 MB / 0.7425 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 59.91 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2989, allocations: 159.1 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.00574/0.3047, allocations: 4.294 MB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003613/0.3083, allocations: 2.373 MB / 1.227 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001706/0.3085, allocations: 15.88 kB / 1.227 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001041/0.3096, allocations: 370.2 kB / 1.227 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006967/0.3103, allocations: 370.2 kB / 1.227 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006471/0.3109, allocations: 319.2 kB / 1.228 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006994/0.3116, allocations: 0.6828 MB / 1.228 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004189/0.3121, allocations: 262 kB / 1.229 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003089/0.3124, allocations: 266.9 kB / 1.229 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003528/0.3128, allocations: 262.9 kB / 1.229 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.566e-05/0.3128, allocations: 35.94 kB / 1.229 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006384/0.3135, allocations: 431 kB / 1.23 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001535/0.3136, allocations: 139.6 kB / 1.23 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002382/0.3139, allocations: 242.7 kB / 1.23 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008371/0.3147, allocations: 0.7354 MB / 1.231 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.3147, allocations: 0 / 1.231 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3147, allocations: 0 / 1.231 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.3147, allocations: 4 kB / 1.231 GB, free: 3.543 MB / 0.9825 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.001101/0.3159, allocations: 0.798 MB / 1.231 GB, free: 2.695 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.3159, allocations: 8.031 kB / 1.231 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.728e-05/0.316, allocations: 82.69 kB / 1.232 GB, free: 2.598 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001287/0.3173, allocations: 184.4 kB / 1.232 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006084/0.3179, allocations: 444.8 kB / 1.232 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/0.3179, allocations: 21.38 kB / 1.232 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.437e-05/0.318, allocations: 36.36 kB / 1.232 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009035/0.3189, allocations: 0.6592 MB / 1.233 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.3189, allocations: 4 kB / 1.233 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.963e-05/0.319, allocations: 12 kB / 1.233 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.811e-05/0.3191, allocations: 59.83 kB / 1.233 GB, free: 1.066 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000743/0.3198, allocations: 499.3 kB / 1.233 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003264/0.3231, allocations: 3.787 MB / 1.237 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001699/0.3248, allocations: 0.636 MB / 1.238 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002542/0.3251, allocations: 178.5 kB / 1.238 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.3251, allocations: 7.938 kB / 1.238 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.3252, allocations: 38.56 kB / 1.238 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=30): time 1.754e-06/0.3252, allocations: 4 kB / 1.238 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.002231/0.3274, allocations: 1.29 MB / 1.239 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.35e-05/0.3275, allocations: 110.8 kB / 1.239 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004107/0.3279, allocations: 397.8 kB / 1.24 GB, free: 9.723 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.3279, allocations: 33.7 kB / 1.24 GB, free: 9.684 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002076/0.3281, allocations: 288.7 kB / 1.24 GB, free: 9.398 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.855e-05/0.3282, allocations: 126.9 kB / 1.24 GB, free: 9.273 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/0.3284, allocations: 98.16 kB / 1.24 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.3286, allocations: 358.8 kB / 1.24 GB, free: 8.812 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002633/0.3288, allocations: 173 kB / 1.241 GB, free: 8.645 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004131/0.3292, allocations: 375.7 kB / 1.241 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007313/0.33, allocations: 0.6028 MB / 1.242 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.33, allocations: 0 / 1.242 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001057/0.3311, allocations: 0.6715 MB / 1.242 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.3311, allocations: 8 kB / 1.242 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.3311, allocations: 8 kB / 1.242 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003339/0.3314, allocations: 102.4 kB / 1.242 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003811/0.3318, allocations: 107.8 kB / 1.242 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003571/0.3354, allocations: 4.344 MB / 1.247 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003631/0.3358, allocations: 35.97 kB / 1.247 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.604e-05/0.3358, allocations: 24 kB / 1.247 GB, free: 1.754 MB / 0.9981 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.0002615/0.3361, allocations: 199.1 kB / 1.247 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.3362, allocations: 51.67 kB / 1.247 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008992/0.3371, allocations: 0.5192 MB / 1.248 GB, free: 0.9609 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.405e-06/0.3371, allocations: 4 kB / 1.248 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.3372, allocations: 0 / 1.248 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.3372, allocations: 4 kB / 1.248 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5662/0.9034, allocations: 1.277 MB / 1.249 GB, free: 28.35 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.9035, allocations: 3.062 kB / 1.249 GB, free: 28.35 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002695/0.9037, allocations: 64.55 kB / 1.249 GB, free: 28.35 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002731/0.904, allocations: 91.61 kB / 1.249 GB, free: 28.32 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.722e-05/0.9041, allocations: 8.969 kB / 1.249 GB, free: 28.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002283/0.9063, allocations: 4.332 MB / 1.253 GB, free: 24.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/0.9064, allocations: 14.08 kB / 1.253 GB, free: 24.33 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008285/0.9072, allocations: 0.7815 MB / 1.254 GB, free: 23.94 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/0.9074, allocations: 158.2 kB / 1.254 GB, free: 23.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.367e-05/0.9074, allocations: 9.484 kB / 1.254 GB, free: 23.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003047/0.9077, allocations: 24.14 kB / 1.254 GB, free: 23.84 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.257e-05/0.9078, allocations: 37.94 kB / 1.254 GB, free: 23.84 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/0.9078, allocations: 13.34 kB / 1.254 GB, free: 23.84 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002956/0.9081, allocations: 278.5 kB / 1.254 GB, free: 23.75 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9082, allocations: 1.031 kB / 1.254 GB, free: 23.75 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006626/0.9088, allocations: 123.4 kB / 1.255 GB, free: 23.75 MB / 0.9981 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.0009432/0.9098, allocations: 1.339 MB / 1.256 GB, free: 22.83 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001144/0.9109, allocations: 0.8061 MB / 1.257 GB, free: 22.48 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.9109, allocations: 4.531 kB / 1.257 GB, free: 22.48 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006421/0.9116, allocations: 0.5491 MB / 1.257 GB, free: 22.14 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009138/0.9125, allocations: 134.9 kB / 1.257 GB, free: 22.14 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00447/0.917, allocations: 4.566 MB / 1.262 GB, free: 19.77 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/0.9173, allocations: 0.8573 MB / 1.263 GB, free: 19.07 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002467/0.9175, allocations: 102.8 kB / 1.263 GB, free: 19.05 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000166/0.9177, allocations: 155.9 kB / 1.263 GB, free: 19.05 MB / 0.9981 GB Notification: Performance of SimCode: time 1.062e-06/0.9177, allocations: 0 / 1.263 GB, free: 19.05 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04232/0.96, allocations: 10.02 MB / 1.273 GB, free: 18.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.09/11.05, allocations: 14.16 kB / 1.273 GB, free: 18.19 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches