Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_latest_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.004156/0.004156, allocations: 101.6 kB / 15.73 MB, free: 6.453 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.001119/0.001119, allocations: 194.8 kB / 16.67 MB, free: 6.355 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.279/1.279, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.604/2.604, allocations: 469.4 MB / 0.7421 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 71.84 kB / 1.064 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.274, allocations: 159.1 MB / 1.22 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005553/0.2796, allocations: 4.284 MB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003735/0.2834, allocations: 2.377 MB / 1.226 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004116/0.2838, allocations: 15.88 kB / 1.226 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00135/0.2852, allocations: 378.8 kB / 1.227 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0009807/0.2862, allocations: 382.2 kB / 1.227 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008262/0.287, allocations: 325.5 kB / 1.227 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008434/0.2879, allocations: 0.6828 MB / 1.228 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004432/0.2883, allocations: 262 kB / 1.228 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003902/0.2887, allocations: 262.9 kB / 1.228 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004086/0.2892, allocations: 278.9 kB / 1.229 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.107e-05/0.2892, allocations: 28 kB / 1.229 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006633/0.2899, allocations: 427 kB / 1.229 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001619/0.2901, allocations: 143.6 kB / 1.229 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002506/0.2903, allocations: 238.7 kB / 1.23 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009319/0.2913, allocations: 0.7393 MB / 1.23 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2913, allocations: 0 / 1.23 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.303e-06/0.2913, allocations: 0 / 1.23 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.716e-05/0.2913, allocations: 0 / 1.23 GB, free: 3.867 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.001255/0.2926, allocations: 0.798 MB / 1.231 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.2926, allocations: 12.03 kB / 1.231 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.728e-05/0.2927, allocations: 78.69 kB / 1.231 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001417/0.2941, allocations: 188.4 kB / 1.231 GB, free: 2.738 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006295/0.2948, allocations: 440.8 kB / 1.232 GB, free: 2.27 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.2948, allocations: 25.36 kB / 1.232 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.797e-05/0.2949, allocations: 36.38 kB / 1.232 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008187/0.2957, allocations: 0.6546 MB / 1.232 GB, free: 1.469 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.2957, allocations: 4 kB / 1.232 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.349e-05/0.2958, allocations: 15.98 kB / 1.232 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-05/0.2959, allocations: 59.89 kB / 1.232 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007171/0.2966, allocations: 0.4885 MB / 1.233 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003067/0.2997, allocations: 3.783 MB / 1.237 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/0.3013, allocations: 0.6283 MB / 1.237 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002386/0.3016, allocations: 182.5 kB / 1.237 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.3016, allocations: 7.938 kB / 1.237 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.3017, allocations: 34.56 kB / 1.237 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=30): time 1.694e-06/0.3017, allocations: 0 / 1.237 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.002212/0.3039, allocations: 1.297 MB / 1.239 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.3039, allocations: 110.8 kB / 1.239 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003876/0.3043, allocations: 405.8 kB / 1.239 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.3044, allocations: 29.7 kB / 1.239 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/0.3046, allocations: 288.1 kB / 1.24 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.179e-05/0.3047, allocations: 126.9 kB / 1.24 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.3048, allocations: 102.2 kB / 1.24 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.3049, allocations: 350.8 kB / 1.24 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002503/0.3052, allocations: 181 kB / 1.24 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003551/0.3055, allocations: 376.9 kB / 1.241 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006598/0.3062, allocations: 0.5909 MB / 1.241 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.3062, allocations: 8 kB / 1.241 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001049/0.3073, allocations: 0.6676 MB / 1.242 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.3073, allocations: 8 kB / 1.242 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.3073, allocations: 8 kB / 1.242 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000376/0.3077, allocations: 102.8 kB / 1.242 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003861/0.3081, allocations: 115.8 kB / 1.242 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003049/0.3112, allocations: 4.345 MB / 1.246 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003319/0.3115, allocations: 27.97 kB / 1.246 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.429e-05/0.3116, allocations: 24 kB / 1.246 GB, free: 2.086 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.0002026/0.3118, allocations: 204.2 kB / 1.247 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.3119, allocations: 51.67 kB / 1.247 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008051/0.3127, allocations: 0.5147 MB / 1.247 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.3127, allocations: 4 kB / 1.247 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3127, allocations: 0 / 1.247 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.3127, allocations: 0 / 1.247 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5408/0.8535, allocations: 1.288 MB / 1.248 GB, free: 28.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/0.8536, allocations: 6.031 kB / 1.248 GB, free: 28.89 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002925/0.8539, allocations: 59.2 kB / 1.248 GB, free: 28.89 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002851/0.8542, allocations: 89.81 kB / 1.249 GB, free: 28.87 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.731e-05/0.8542, allocations: 12.53 kB / 1.249 GB, free: 28.87 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002479/0.8567, allocations: 4.333 MB / 1.253 GB, free: 24.89 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.8567, allocations: 8.266 kB / 1.253 GB, free: 24.89 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008936/0.8576, allocations: 0.7856 MB / 1.254 GB, free: 24.49 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001997/0.8578, allocations: 159.5 kB / 1.254 GB, free: 24.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.844e-05/0.8579, allocations: 9.266 kB / 1.254 GB, free: 24.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003138/0.8582, allocations: 21.23 kB / 1.254 GB, free: 24.39 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.753e-05/0.8583, allocations: 34.59 kB / 1.254 GB, free: 24.39 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.591e-05/0.8583, allocations: 19.59 kB / 1.254 GB, free: 24.39 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003224/0.8587, allocations: 281.3 kB / 1.254 GB, free: 24.31 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8587, allocations: 0 / 1.254 GB, free: 24.31 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006655/0.8593, allocations: 119.3 kB / 1.254 GB, free: 24.31 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.0009364/0.8603, allocations: 1.334 MB / 1.255 GB, free: 23.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001115/0.8614, allocations: 0.8048 MB / 1.256 GB, free: 23.05 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.8614, allocations: 0 / 1.256 GB, free: 23.05 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006132/0.862, allocations: 0.5545 MB / 1.257 GB, free: 22.71 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008864/0.8629, allocations: 131.5 kB / 1.257 GB, free: 22.71 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004344/0.8673, allocations: 4.566 MB / 1.261 GB, free: 20.34 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002368/0.8676, allocations: 0.857 MB / 1.262 GB, free: 19.64 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002299/0.8678, allocations: 106.7 kB / 1.262 GB, free: 19.63 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/0.868, allocations: 152.1 kB / 1.262 GB, free: 19.62 MB / 0.9981 GB Notification: Performance of SimCode: time 3.91e-07/0.868, allocations: 0 / 1.262 GB, free: 19.62 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03567/0.9036, allocations: 10.03 MB / 1.272 GB, free: 18.78 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.247/10.15, allocations: 11.69 kB / 1.272 GB, free: 18.77 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches