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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.001604/0.001604, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001779/0.001779, allocations: 190.8 kB / 16.67 MB, free: 6.582 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.336/1.336, 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 12.0.0-master/package.mo): time 2.717/2.717, allocations: 472.7 MB / 0.7453 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 63.91 kB / 1.069 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2934, allocations: 159.9 MB / 1.225 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005687/0.2991, allocations: 4.292 MB / 1.229 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003603/0.3027, allocations: 2.373 MB / 1.232 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003235/0.3031, allocations: 15.88 kB / 1.232 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.3042, allocations: 374.2 kB / 1.232 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0009632/0.3052, allocations: 382.2 kB / 1.232 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008082/0.306, allocations: 327.2 kB / 1.233 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000862/0.3069, allocations: 0.675 MB / 1.233 GB, free: 1.184 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004542/0.3073, allocations: 263.2 kB / 1.234 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004513/0.3078, allocations: 271 kB / 1.234 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004321/0.3082, allocations: 270.8 kB / 1.234 GB, free: 400 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.339e-05/0.3083, allocations: 28 kB / 1.234 GB, free: 372 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007847/0.3091, allocations: 427 kB / 1.235 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001799/0.3093, allocations: 147.5 kB / 1.235 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002653/0.3096, allocations: 242.7 kB / 1.235 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.3106, allocations: 0.7276 MB / 1.236 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.3106, allocations: 7.938 kB / 1.236 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3106, allocations: 4 kB / 1.236 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.084e-05/0.3107, allocations: 4 kB / 1.236 GB, free: 14.82 MB / 0.9981 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.001342/0.312, allocations: 0.7941 MB / 1.236 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.3121, allocations: 8.031 kB / 1.236 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.803e-05/0.3122, allocations: 78.7 kB / 1.237 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001359/0.3135, allocations: 188.3 kB / 1.237 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005921/0.3141, allocations: 432.9 kB / 1.237 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/0.3142, allocations: 33.36 kB / 1.237 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.608e-05/0.3142, allocations: 36.3 kB / 1.237 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008197/0.3151, allocations: 0.6469 MB / 1.238 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/0.3151, allocations: 7.938 kB / 1.238 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.364e-05/0.3151, allocations: 23.92 kB / 1.238 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.488e-05/0.3152, allocations: 63.89 kB / 1.238 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006798/0.3159, allocations: 494.6 kB / 1.238 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00292/0.3188, allocations: 3.783 MB / 1.242 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001598/0.3204, allocations: 0.6289 MB / 1.243 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002324/0.3207, allocations: 178.5 kB / 1.243 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.88e-05/0.3207, allocations: 11.92 kB / 1.243 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.3208, allocations: 42.5 kB / 1.243 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=30): time 1.914e-06/0.3208, allocations: 0 / 1.243 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.002133/0.3229, allocations: 1.282 MB / 1.244 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/0.323, allocations: 110.8 kB / 1.244 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003807/0.3234, allocations: 401.8 kB / 1.245 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.3234, allocations: 31.39 kB / 1.245 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.3236, allocations: 288.2 kB / 1.245 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.779e-05/0.3237, allocations: 126.9 kB / 1.245 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/0.3238, allocations: 102.1 kB / 1.245 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.3239, allocations: 358.8 kB / 1.246 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002406/0.3242, allocations: 173 kB / 1.246 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003426/0.3245, allocations: 375.8 kB / 1.246 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006393/0.3252, allocations: 0.599 MB / 1.247 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.3252, allocations: 0 / 1.247 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001028/0.3262, allocations: 0.671 MB / 1.247 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.3263, allocations: 10.03 kB / 1.247 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.3263, allocations: 8 kB / 1.247 GB, free: 2.078 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003475/0.3266, allocations: 103.1 kB / 1.247 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003675/0.327, allocations: 107.8 kB / 1.248 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5662/0.8932, allocations: 4.345 MB / 1.252 GB, free: 23.51 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004606/0.8937, allocations: 30.94 kB / 1.252 GB, free: 23.51 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.661e-05/0.8938, allocations: 25.48 kB / 1.252 GB, free: 23.51 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.0002581/0.894, allocations: 196.1 kB / 1.252 GB, free: 23.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.8941, allocations: 57.2 kB / 1.252 GB, free: 23.39 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009553/0.8951, allocations: 0.5128 MB / 1.253 GB, free: 23.33 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.8951, allocations: 5.797 kB / 1.253 GB, free: 23.33 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.8951, allocations: 5.656 kB / 1.253 GB, free: 23.33 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.8951, allocations: 2.547 kB / 1.253 GB, free: 23.33 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001724/0.8969, allocations: 1.286 MB / 1.254 GB, free: 22.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.8969, allocations: 3.094 kB / 1.254 GB, free: 22.79 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002372/0.8971, allocations: 61.67 kB / 1.254 GB, free: 22.79 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002555/0.8974, allocations: 94.03 kB / 1.254 GB, free: 22.76 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.451e-05/0.8974, allocations: 10.78 kB / 1.254 GB, free: 22.76 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002266/0.8997, allocations: 4.336 MB / 1.258 GB, free: 18.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.8997, allocations: 6.109 kB / 1.258 GB, free: 18.73 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008465/0.9006, allocations: 0.7806 MB / 1.259 GB, free: 18.32 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001594/0.9007, allocations: 162 kB / 1.259 GB, free: 18.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.608e-05/0.9008, allocations: 14.17 kB / 1.259 GB, free: 18.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002984/0.9011, allocations: 25.09 kB / 1.259 GB, free: 18.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.301e-05/0.9012, allocations: 33.94 kB / 1.259 GB, free: 18.19 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.319e-05/0.9012, allocations: 15.02 kB / 1.259 GB, free: 18.19 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003132/0.9015, allocations: 280.2 kB / 1.259 GB, free: 18.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9015, allocations: 0 / 1.259 GB, free: 18.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006843/0.9022, allocations: 121.2 kB / 1.26 GB, free: 18.1 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.00101/0.9033, allocations: 1.336 MB / 1.261 GB, free: 17.15 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001068/0.9043, allocations: 0.8085 MB / 1.262 GB, free: 16.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.9043, allocations: 0 / 1.262 GB, free: 16.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005916/0.9049, allocations: 0.5533 MB / 1.262 GB, free: 16.45 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008501/0.9058, allocations: 135.6 kB / 1.262 GB, free: 16.45 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004138/0.91, allocations: 4.552 MB / 1.267 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.9103, allocations: 0.8575 MB / 1.268 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002427/0.9105, allocations: 105.7 kB / 1.268 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/0.9107, allocations: 153 kB / 1.268 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of SimCode: time 3e-07/0.9107, allocations: 3.938 kB / 1.268 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05324/0.9639, allocations: 10.03 MB / 1.278 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.727/10.69, allocations: 9.391 kB / 1.278 GB, free: 12.48 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