Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.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.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter",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.005835/0.005835, allocations: 101.1 kB / 15.73 MB, free: 6.062 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.001385/0.001385, allocations: 192.2 kB / 16.67 MB, free: 5.973 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.254/1.254, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.514/2.514, allocations: 469.4 MB / 0.7422 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 63.91 kB / 1.064 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7462/0.7476, allocations: 159.1 MB / 1.22 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.004267/0.7519, allocations: 2.754 MB / 1.222 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003023/0.755, allocations: 2.08 MB / 1.224 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001595/0.7551, allocations: 7.938 kB / 1.224 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0007828/0.7559, allocations: 226.2 kB / 1.225 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0005359/0.7565, allocations: 223.1 kB / 1.225 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006654/0.7572, allocations: 279.2 kB / 1.225 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003744/0.7576, allocations: 311.1 kB / 1.225 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003116/0.7579, allocations: 164.6 kB / 1.226 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001929/0.7581, allocations: 123.6 kB / 1.226 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002759/0.7584, allocations: 151.5 kB / 1.226 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.853e-05/0.7584, allocations: 20 kB / 1.226 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006206/0.759, allocations: 415.2 kB / 1.226 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.7592, allocations: 95.77 kB / 1.226 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.7593, allocations: 119.4 kB / 1.226 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006954/0.76, allocations: 494 kB / 1.227 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.76, allocations: 4 kB / 1.227 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.162e-06/0.76, allocations: 0 / 1.227 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.76, allocations: 0 / 1.227 GB, free: 10.83 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0009611/0.761, allocations: 0.5647 MB / 1.228 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.7611, allocations: 8.625 kB / 1.228 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.196e-05/0.7611, allocations: 58.72 kB / 1.228 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009962/0.7621, allocations: 136.6 kB / 1.228 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003471/0.7625, allocations: 260.5 kB / 1.228 GB, free: 9.715 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.7625, allocations: 20.8 kB / 1.228 GB, free: 9.695 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.43e-05/0.7626, allocations: 19.94 kB / 1.228 GB, free: 9.676 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006809/0.7633, allocations: 393.9 kB / 1.228 GB, free: 9.262 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.7633, allocations: 0 / 1.228 GB, free: 9.262 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.347e-05/0.7633, allocations: 8 kB / 1.228 GB, free: 9.254 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.939e-05/0.7634, allocations: 27.92 kB / 1.228 GB, free: 9.227 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007144/0.7641, allocations: 379.6 kB / 1.229 GB, free: 8.855 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001917/0.766, allocations: 1.738 MB / 1.23 GB, free: 6.973 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007051/0.7667, allocations: 356.9 kB / 1.231 GB, free: 6.605 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003935/0.7671, allocations: 197.6 kB / 1.231 GB, free: 6.406 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001322/0.7673, allocations: 89.08 kB / 1.231 GB, free: 6.301 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.7673, allocations: 38.56 kB / 1.231 GB, free: 6.254 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=25): time 1.423e-06/0.7673, allocations: 0 / 1.231 GB, free: 6.254 MB / 0.9512 GB Notification: Performance of matching and sorting (n=35): time 0.008548/0.7759, allocations: 2.06 MB / 1.233 GB, free: 4.188 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.7759, allocations: 85.05 kB / 1.233 GB, free: 4.086 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.7761, allocations: 178.7 kB / 1.233 GB, free: 3.898 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.846e-05/0.7761, allocations: 29.7 kB / 1.233 GB, free: 3.863 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.538e-05/0.7762, allocations: 156.6 kB / 1.234 GB, free: 3.703 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.722e-05/0.7763, allocations: 130.9 kB / 1.234 GB, free: 3.574 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001455/0.7765, allocations: 77.69 kB / 1.234 GB, free: 3.492 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.7766, allocations: 330.8 kB / 1.234 GB, free: 3.16 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005406/0.7771, allocations: 260.7 kB / 1.234 GB, free: 2.902 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005798/0.7777, allocations: 349.4 kB / 1.235 GB, free: 2.523 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/0.7789, allocations: 0.6228 MB / 1.235 GB, free: 1.871 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.7789, allocations: 4 kB / 1.235 GB, free: 1.867 MB / 0.9512 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001292/0.7802, allocations: 0.6632 MB / 1.236 GB, free: 1.199 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.7802, allocations: 8 kB / 1.236 GB, free: 1.191 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.7802, allocations: 0 / 1.236 GB, free: 1.191 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.7802, allocations: 4 kB / 1.236 GB, free: 1.188 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000935/0.7812, allocations: 155.8 kB / 1.236 GB, free: 1.035 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.7812, allocations: 7.938 kB / 1.236 GB, free: 1.027 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004501/0.7817, allocations: 59.98 kB / 1.236 GB, free: 0.9688 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.606e-05/0.7817, allocations: 19.92 kB / 1.236 GB, free: 0.9492 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006/0.7823, allocations: 368 kB / 1.237 GB, free: 0.5859 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005573/0.7829, allocations: 329.2 kB / 1.237 GB, free: 236 kB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001078/0.784, allocations: 0.598 MB / 1.237 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.884e-06/0.784, allocations: 0 / 1.237 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001238/0.7852, allocations: 0.6376 MB / 1.238 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.7853, allocations: 4 kB / 1.238 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.7853, allocations: 11.92 kB / 1.238 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.761e-06/0.7853, allocations: 8.281 kB / 1.238 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008632/0.7861, allocations: 147.8 kB / 1.238 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.7862, allocations: 4 kB / 1.238 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004354/0.7866, allocations: 55.92 kB / 1.238 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.955e-05/0.7867, allocations: 15.98 kB / 1.238 GB, free: 14.71 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001616/0.7868, allocations: 204.1 kB / 1.238 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.075e-05/0.7869, allocations: 23.86 kB / 1.238 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001346/0.7883, allocations: 0.6802 MB / 1.239 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.7883, allocations: 7.984 kB / 1.239 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.7883, allocations: 4 kB / 1.239 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/0.7883, allocations: 4 kB / 1.239 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002114/0.7904, allocations: 1.375 MB / 1.241 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.7905, allocations: 7.938 kB / 1.241 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005752/0.791, allocations: 115.8 kB / 1.241 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.7911, allocations: 4 kB / 1.241 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.022e-05/0.7911, allocations: 12.19 kB / 1.241 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.7911, allocations: 8 kB / 1.241 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.7911, allocations: 4 kB / 1.241 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009748/0.7921, allocations: 0.7124 MB / 1.241 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001688/0.7923, allocations: 140.9 kB / 1.241 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.424e-05/0.7923, allocations: 11.94 kB / 1.241 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003677/0.7927, allocations: 47.88 kB / 1.242 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.947e-05/0.7928, allocations: 23.97 kB / 1.242 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.678e-05/0.7928, allocations: 19.94 kB / 1.242 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001647/0.793, allocations: 152.3 kB / 1.242 GB, free: 11 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.41e-07/0.793, allocations: 0 / 1.242 GB, free: 11 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0006305/0.7936, allocations: 147.9 kB / 1.242 GB, free: 10.86 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001321/0.795, allocations: 1.283 MB / 1.243 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001684/0.7967, allocations: 0.8751 MB / 1.244 GB, free: 8.645 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.7967, allocations: 0 / 1.244 GB, free: 8.645 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0004258/0.7971, allocations: 251.7 kB / 1.244 GB, free: 8.398 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005011/0.7976, allocations: 46.53 kB / 1.244 GB, free: 8.355 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005445/0.8031, allocations: 3.912 MB / 1.248 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.8034, allocations: 0.7799 MB / 1.249 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0004875/0.8039, allocations: 178.8 kB / 1.249 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002142/0.8041, allocations: 83.41 kB / 1.249 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of SimCode: time 2.4e-07/0.8041, allocations: 0 / 1.249 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02444/0.8286, allocations: 7.717 MB / 1.257 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.264/8.093, allocations: 8.891 kB / 1.257 GB, free: 11.64 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_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_Conversion_Examples_ACACConverter.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches