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 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.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.007117/0.007117, allocations: 100.5 kB / 15.73 MB, free: 6.012 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.001841/0.001841, allocations: 191.9 kB / 16.67 MB, free: 5.934 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.776/2.776, allocations: 482.4 MB / 0.7548 GB, free: 6.91 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 64.55 kB / 1.083 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2964, allocations: 162.2 MB / 1.241 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.004661/0.3011, allocations: 2.743 MB / 1.244 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003505/0.3047, allocations: 2.084 MB / 1.246 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000164/0.3049, allocations: 4 kB / 1.246 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008436/0.3057, allocations: 235 kB / 1.246 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000614/0.3064, allocations: 223.1 kB / 1.247 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007547/0.3071, allocations: 275.2 kB / 1.247 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004393/0.3076, allocations: 315.1 kB / 1.247 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003232/0.3079, allocations: 146.3 kB / 1.247 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001949/0.3081, allocations: 139.5 kB / 1.247 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002903/0.3084, allocations: 147.5 kB / 1.248 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.489e-05/0.3085, allocations: 20 kB / 1.248 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006875/0.3092, allocations: 419.2 kB / 1.248 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.3093, allocations: 91.77 kB / 1.248 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.3094, allocations: 111.5 kB / 1.248 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006678/0.3101, allocations: 0.4904 MB / 1.249 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3101, allocations: 0 / 1.249 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3101, allocations: 0 / 1.249 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.3101, allocations: 0 / 1.249 GB, free: 1.895 MB / 0.9669 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.000987/0.3111, allocations: 0.5724 MB / 1.249 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.3112, allocations: 8.031 kB / 1.249 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.814e-05/0.3113, allocations: 58.73 kB / 1.249 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009794/0.3122, allocations: 128.6 kB / 1.249 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000341/0.3126, allocations: 264.6 kB / 1.25 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.3126, allocations: 20.55 kB / 1.25 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.259e-05/0.3127, allocations: 20 kB / 1.25 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007261/0.3134, allocations: 393.9 kB / 1.25 GB, free: 328 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.3134, allocations: 3.938 kB / 1.25 GB, free: 324 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.23e-05/0.3135, allocations: 8 kB / 1.25 GB, free: 316 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.101e-05/0.3135, allocations: 23.98 kB / 1.25 GB, free: 292 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008177/0.3143, allocations: 371.8 kB / 1.25 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002143/0.3165, allocations: 1.753 MB / 1.252 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007977/0.3173, allocations: 349 kB / 1.253 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003836/0.3177, allocations: 193.6 kB / 1.253 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001578/0.3179, allocations: 93.03 kB / 1.253 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.3179, allocations: 38.56 kB / 1.253 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=25): time 1.763e-06/0.3179, allocations: 0 / 1.253 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35): time 0.009384/0.3273, allocations: 2.064 MB / 1.255 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/0.3274, allocations: 81.11 kB / 1.255 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.3276, allocations: 182.5 kB / 1.255 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.866e-05/0.3277, allocations: 37.7 kB / 1.255 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.3278, allocations: 144.7 kB / 1.255 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/0.3279, allocations: 130.9 kB / 1.255 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001646/0.3281, allocations: 73.69 kB / 1.255 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.3282, allocations: 334.8 kB / 1.256 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000606/0.3288, allocations: 268.7 kB / 1.256 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006706/0.3295, allocations: 349.4 kB / 1.256 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001295/0.3308, allocations: 0.6151 MB / 1.257 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3308, allocations: 0 / 1.257 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001477/0.3323, allocations: 0.6635 MB / 1.258 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.3324, allocations: 8 kB / 1.258 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.3324, allocations: 4 kB / 1.258 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.3324, allocations: 4.281 kB / 1.258 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/0.3334, allocations: 159.7 kB / 1.258 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.3334, allocations: 4 kB / 1.258 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004781/0.3339, allocations: 55.92 kB / 1.258 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-05/0.334, allocations: 19.98 kB / 1.258 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007118/0.3347, allocations: 367.9 kB / 1.258 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006324/0.3353, allocations: 333.2 kB / 1.259 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001227/0.3366, allocations: 0.5977 MB / 1.259 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.519e-06/0.3366, allocations: 3.938 kB / 1.259 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.00142/0.338, allocations: 0.6341 MB / 1.26 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.338, allocations: 8 kB / 1.26 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.3381, allocations: 0 / 1.26 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.783e-06/0.3381, allocations: 7.938 kB / 1.26 GB, free: 6 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009486/0.339, allocations: 152 kB / 1.26 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.339, allocations: 11.94 kB / 1.26 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004566/0.3395, allocations: 51.92 kB / 1.26 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.661e-05/0.3396, allocations: 19.98 kB / 1.26 GB, free: 5.77 MB / 0.9825 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.0001717/0.3397, allocations: 196.1 kB / 1.26 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.851e-05/0.3398, allocations: 23.86 kB / 1.26 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001544/0.3414, allocations: 0.688 MB / 1.261 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.3414, allocations: 4 kB / 1.261 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.3414, allocations: 4 kB / 1.261 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.3414, allocations: 7.922 kB / 1.261 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002307/0.3437, allocations: 1.367 MB / 1.262 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.3438, allocations: 4 kB / 1.262 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006036/0.3444, allocations: 119.8 kB / 1.262 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.3444, allocations: 4 kB / 1.262 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.416e-05/0.3444, allocations: 15.92 kB / 1.262 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.3444, allocations: 4 kB / 1.262 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.3444, allocations: 3.938 kB / 1.262 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/0.3455, allocations: 0.711 MB / 1.263 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001625/0.3457, allocations: 140.9 kB / 1.263 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.553e-05/0.3458, allocations: 11.94 kB / 1.263 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003771/0.3462, allocations: 47.94 kB / 1.263 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.791e-05/0.3463, allocations: 27.97 kB / 1.263 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-05/0.3463, allocations: 8 kB / 1.263 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001981/0.3465, allocations: 153.6 kB / 1.263 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3465, allocations: 0 / 1.263 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006562/0.3472, allocations: 143.9 kB / 1.264 GB, free: 1.926 MB / 0.9825 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.001517/0.3487, allocations: 1.296 MB / 1.265 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001922/0.3506, allocations: 0.8723 MB / 1.266 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.3507, allocations: 0 / 1.266 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004975/0.3512, allocations: 261.2 kB / 1.266 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005354/0.3517, allocations: 44.98 kB / 1.266 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006249/0.358, allocations: 3.904 MB / 1.27 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004387/0.3584, allocations: 0.7838 MB / 1.271 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005477/0.359, allocations: 186.7 kB / 1.271 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002371/0.3592, allocations: 79.41 kB / 1.271 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of SimCode: time 6.52e-07/0.3592, allocations: 3.938 kB / 1.271 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03079/0.39, allocations: 7.706 MB / 1.278 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.993/9.383, allocations: 13.58 kB / 1.278 GB, free: 2.715 MB / 0.9981 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 400 --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