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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0008682/0.0008682, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.005476/0.005476, allocations: 170.8 kB / 16.26 MB, free: 6.613 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.253/1.253, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.486/2.486, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003192/0.0003193, allocations: 8.219 kB / 0.9029 GB, free: 36.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2442, allocations: 159.6 MB / 1.059 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.00281/0.247, allocations: 2.437 MB / 1.061 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002653/0.2497, allocations: 2.076 MB / 1.063 GB, free: 368 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.161e-05/0.2498, allocations: 4 kB / 1.063 GB, free: 364 kB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001294/0.2499, allocations: 27.78 kB / 1.063 GB, free: 336 kB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004131/0.2504, allocations: 211.3 kB / 1.063 GB, free: 124 kB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004596/0.2508, allocations: 239.5 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003823/0.2512, allocations: 450.8 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005437/0.2518, allocations: 370.2 kB / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.2519, allocations: 103.5 kB / 1.065 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002293/0.2522, allocations: 151.5 kB / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.2522, allocations: 8 kB / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005682/0.2528, allocations: 483.2 kB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.676e-05/0.2529, allocations: 83.77 kB / 1.065 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.253, allocations: 129.1 kB / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004814/0.2535, allocations: 494.8 kB / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2535, allocations: 0 / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.213e-06/0.2535, allocations: 0 / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.2535, allocations: 0 / 1.066 GB, free: 13.62 MB / 0.8262 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.0007323/0.2542, allocations: 0.5265 MB / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.2543, allocations: 11.97 kB / 1.066 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.633e-05/0.2543, allocations: 62.66 kB / 1.066 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00089/0.2552, allocations: 128.5 kB / 1.067 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.2555, allocations: 253.2 kB / 1.067 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.2555, allocations: 20.8 kB / 1.067 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.124e-05/0.2556, allocations: 23.92 kB / 1.067 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006253/0.2562, allocations: 397.9 kB / 1.067 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.2562, allocations: 4 kB / 1.067 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.936e-05/0.2562, allocations: 8 kB / 1.067 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-05/0.2563, allocations: 23.98 kB / 1.067 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006933/0.257, allocations: 387.6 kB / 1.068 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001748/0.2587, allocations: 1.749 MB / 1.069 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006931/0.2594, allocations: 360.9 kB / 1.07 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003395/0.2598, allocations: 195.4 kB / 1.07 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001224/0.2599, allocations: 97.08 kB / 1.07 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.26, allocations: 34.56 kB / 1.07 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=25): time 2.776e-06/0.26, allocations: 3.984 kB / 1.07 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of matching and sorting (n=35): time 0.008647/0.2686, allocations: 2.207 MB / 1.072 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.2687, allocations: 81.11 kB / 1.072 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.2688, allocations: 187.5 kB / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.246e-05/0.2689, allocations: 37.64 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.892e-05/0.269, allocations: 144.4 kB / 1.073 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.937e-05/0.2691, allocations: 126.1 kB / 1.073 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.521e-05/0.2691, allocations: 37.7 kB / 1.073 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.351e-05/0.2692, allocations: 330.8 kB / 1.073 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000541/0.2698, allocations: 271.8 kB / 1.073 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005788/0.2704, allocations: 353.5 kB / 1.074 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/0.2715, allocations: 0.6502 MB / 1.074 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2715, allocations: 0 / 1.074 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001281/0.2728, allocations: 0.6826 MB / 1.075 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.416e-05/0.2729, allocations: 154.8 kB / 1.075 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.2729, allocations: 0 / 1.075 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.2729, allocations: 4 kB / 1.075 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009099/0.2738, allocations: 167.7 kB / 1.075 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.2738, allocations: 4 kB / 1.075 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004366/0.2743, allocations: 63.91 kB / 1.075 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.745e-05/0.2743, allocations: 15.94 kB / 1.075 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.711e-06/0.2743, allocations: 4 kB / 1.075 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001182/0.2755, allocations: 0.6127 MB / 1.076 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.2755, allocations: 8 kB / 1.076 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.569e-06/0.2756, allocations: 7.938 kB / 1.076 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008486/0.2764, allocations: 156 kB / 1.076 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.2764, allocations: 4 kB / 1.076 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004036/0.2768, allocations: 55.92 kB / 1.076 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.745e-05/0.2769, allocations: 19.98 kB / 1.076 GB, free: 2.555 MB / 0.8262 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.0001815/0.2771, allocations: 249 kB / 1.076 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.102e-05/0.2771, allocations: 23.66 kB / 1.076 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001345/0.2785, allocations: 0.7002 MB / 1.077 GB, free: 1.566 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.2785, allocations: 4 kB / 1.077 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.2785, allocations: 4 kB / 1.077 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.2785, allocations: 3.984 kB / 1.077 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001932/0.2805, allocations: 1.379 MB / 1.078 GB, free: 80 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.2805, allocations: 4.25 kB / 1.078 GB, free: 76 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005614/0.2811, allocations: 135.7 kB / 1.079 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.2811, allocations: 0 / 1.079 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.486e-05/0.2811, allocations: 15.94 kB / 1.079 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.683e-06/0.2811, allocations: 11.97 kB / 1.079 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.2811, allocations: 3.938 kB / 1.079 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009354/0.2821, allocations: 0.7312 MB / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.2822, allocations: 148.7 kB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.372e-05/0.2823, allocations: 8 kB / 1.079 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003498/0.2826, allocations: 51.94 kB / 1.08 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.892e-05/0.2827, allocations: 27.91 kB / 1.08 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.567e-05/0.2827, allocations: 12.05 kB / 1.08 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001537/0.2829, allocations: 163 kB / 1.08 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2829, allocations: 0 / 1.08 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005702/0.2835, allocations: 144 kB / 1.08 GB, free: 14.58 MB / 0.8419 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.001241/0.2847, allocations: 1.304 MB / 1.081 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001611/0.2863, allocations: 0.9146 MB / 1.082 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2863, allocations: 0 / 1.082 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004285/0.2868, allocations: 263.9 kB / 1.082 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005027/0.2873, allocations: 50.73 kB / 1.082 GB, free: 12 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005145/0.2924, allocations: 4.033 MB / 1.086 GB, free: 7.789 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.2927, allocations: 0.7877 MB / 1.087 GB, free: 6.977 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0005427/0.2933, allocations: 174.8 kB / 1.087 GB, free: 6.801 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001971/0.2935, allocations: 75.41 kB / 1.087 GB, free: 6.727 MB / 0.8419 GB Notification: Performance of SimCode: time 3.31e-07/0.2935, allocations: 8 kB / 1.087 GB, free: 6.719 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.171/1.464, allocations: 7.13 MB / 1.094 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002005/1.465, allocations: 226.2 kB / 1.094 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.975/3.44, allocations: 0 / 1.094 GB, free: 15.53 MB / 0.8575 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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