Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-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.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_11_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.006805/0.006805, allocations: 98.81 kB / 15.73 MB, free: 6.441 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.001857/0.001857, allocations: 196.4 kB / 16.67 MB, free: 6.352 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.828/2.828, allocations: 469.8 MB / 0.7425 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 59.89 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2895, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.004322/0.2939, allocations: 2.755 MB / 1.223 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003351/0.2972, allocations: 2.084 MB / 1.225 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.2974, allocations: 11.94 kB / 1.225 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007601/0.2982, allocations: 231 kB / 1.225 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004936/0.2987, allocations: 215.1 kB / 1.225 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006911/0.2994, allocations: 279.2 kB / 1.226 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003838/0.2998, allocations: 319 kB / 1.226 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003244/0.3001, allocations: 154 kB / 1.226 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001908/0.3003, allocations: 123.6 kB / 1.226 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003031/0.3006, allocations: 151.5 kB / 1.226 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.08e-05/0.3007, allocations: 20 kB / 1.226 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007099/0.3014, allocations: 415.3 kB / 1.227 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.3015, allocations: 99.72 kB / 1.227 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001377/0.3017, allocations: 115.4 kB / 1.227 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006918/0.3024, allocations: 490.4 kB / 1.227 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3024, allocations: 0 / 1.227 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3024, allocations: 0 / 1.227 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.3024, allocations: 4 kB / 1.227 GB, free: 6.855 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001101/0.3035, allocations: 0.5685 MB / 1.228 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.3036, allocations: 8.031 kB / 1.228 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.612e-05/0.3036, allocations: 58.72 kB / 1.228 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.3046, allocations: 128.6 kB / 1.228 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003537/0.305, allocations: 266.4 kB / 1.228 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.305, allocations: 16.81 kB / 1.228 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.789e-05/0.3051, allocations: 27.92 kB / 1.228 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000762/0.3059, allocations: 397.9 kB / 1.229 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.3059, allocations: 0 / 1.229 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.343e-05/0.306, allocations: 4 kB / 1.229 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.133e-05/0.306, allocations: 27.98 kB / 1.229 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008091/0.3068, allocations: 371.6 kB / 1.229 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00226/0.3091, allocations: 1.753 MB / 1.231 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008284/0.3099, allocations: 355.4 kB / 1.231 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000395/0.3104, allocations: 193.6 kB / 1.231 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001607/0.3105, allocations: 93.09 kB / 1.232 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/0.3106, allocations: 34.5 kB / 1.232 GB, free: 2.273 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=25): time 1.533e-06/0.3106, allocations: 0 / 1.232 GB, free: 2.273 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35): time 0.009341/0.3199, allocations: 2.056 MB / 1.234 GB, free: 216 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.345e-05/0.32, allocations: 85.09 kB / 1.234 GB, free: 112 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002205/0.3203, allocations: 174.7 kB / 1.234 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.262e-05/0.3203, allocations: 29.7 kB / 1.234 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.3204, allocations: 156.6 kB / 1.234 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.3206, allocations: 126.9 kB / 1.234 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001831/0.3208, allocations: 77.67 kB / 1.234 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.3209, allocations: 330.8 kB / 1.234 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006381/0.3216, allocations: 264.7 kB / 1.235 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006932/0.3223, allocations: 357.4 kB / 1.235 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/0.3236, allocations: 0.6189 MB / 1.236 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3236, allocations: 0 / 1.236 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.00151/0.3251, allocations: 0.6629 MB / 1.236 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.3252, allocations: 8 kB / 1.236 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.3252, allocations: 8.281 kB / 1.236 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/0.3252, allocations: 4 kB / 1.236 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/0.3262, allocations: 155.7 kB / 1.237 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.3263, allocations: 7.938 kB / 1.237 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004822/0.3268, allocations: 59.91 kB / 1.237 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.104e-05/0.3268, allocations: 16 kB / 1.237 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007351/0.3276, allocations: 371.9 kB / 1.237 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006617/0.3282, allocations: 329.3 kB / 1.237 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001293/0.3295, allocations: 0.5939 MB / 1.238 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.643e-06/0.3296, allocations: 4 kB / 1.238 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001445/0.331, allocations: 0.6417 MB / 1.238 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.331, allocations: 8 kB / 1.238 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-06/0.331, allocations: 0 / 1.238 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.943e-06/0.331, allocations: 4 kB / 1.238 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009394/0.332, allocations: 156 kB / 1.239 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.332, allocations: 4 kB / 1.239 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004587/0.3325, allocations: 51.92 kB / 1.239 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-05/0.3325, allocations: 12 kB / 1.239 GB, free: 10.75 MB / 0.9981 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.0001878/0.3327, allocations: 208.1 kB / 1.239 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.494e-05/0.3328, allocations: 31.84 kB / 1.239 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001591/0.3344, allocations: 0.6764 MB / 1.24 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.3344, allocations: 4 kB / 1.24 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.3345, allocations: 0 / 1.24 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.922e-06/0.3345, allocations: 0 / 1.24 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002361/0.3368, allocations: 1.379 MB / 1.241 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.3369, allocations: 4 kB / 1.241 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000613/0.3375, allocations: 115.8 kB / 1.241 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.095e-05/0.3375, allocations: 4 kB / 1.241 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.341e-05/0.3375, allocations: 11.94 kB / 1.241 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/0.3375, allocations: 8 kB / 1.241 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.3376, allocations: 256 / 1.241 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.3387, allocations: 0.7148 MB / 1.242 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001657/0.3389, allocations: 144.9 kB / 1.242 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.559e-05/0.3389, allocations: 15.88 kB / 1.242 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003688/0.3393, allocations: 43.94 kB / 1.242 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.034e-05/0.3394, allocations: 31.91 kB / 1.242 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.874e-05/0.3394, allocations: 12 kB / 1.242 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001938/0.3396, allocations: 156 kB / 1.242 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3396, allocations: 0 / 1.242 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006714/0.3403, allocations: 147.9 kB / 1.242 GB, free: 6.883 MB / 0.9981 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.001543/0.3419, allocations: 1.293 MB / 1.244 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001938/0.3438, allocations: 0.8746 MB / 1.244 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3438, allocations: 0.75 kB / 1.244 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004914/0.3443, allocations: 255.7 kB / 1.245 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005376/0.3449, allocations: 41.84 kB / 1.245 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006294/0.3512, allocations: 3.892 MB / 1.248 GB, free: 316 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5058/0.857, allocations: 0.7826 MB / 1.249 GB, free: 29.68 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006641/0.8577, allocations: 175 kB / 1.249 GB, free: 29.68 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002191/0.8579, allocations: 84.58 kB / 1.25 GB, free: 29.67 MB / 0.9981 GB Notification: Performance of SimCode: time 6.21e-07/0.858, allocations: 0 / 1.25 GB, free: 29.67 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02946/0.8874, allocations: 7.71 MB / 1.257 GB, free: 29.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.94/8.828, allocations: 17.81 kB / 1.257 GB, free: 29.19 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches