Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_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.0008751/0.0008749, allocations: 90.36 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.005289/0.005289, allocations: 172 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.265/1.265, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.41/2.41, allocations: 462.6 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003125/0.0003124, allocations: 11.59 kB / 0.9029 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2358, allocations: 159.6 MB / 1.059 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter): time 0.002993/0.2388, allocations: 2.515 MB / 1.061 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002878/0.2417, allocations: 2.084 MB / 1.063 GB, free: 244 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.2419, allocations: 0 / 1.063 GB, free: 244 kB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001408/0.242, allocations: 27.78 kB / 1.063 GB, free: 216 kB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004982/0.2425, allocations: 203.3 kB / 1.063 GB, free: 12 kB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005872/0.2431, allocations: 239.5 kB / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004432/0.2436, allocations: 454.8 kB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005977/0.2442, allocations: 366.2 kB / 1.065 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001745/0.2444, allocations: 107.5 kB / 1.065 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002665/0.2446, allocations: 151.5 kB / 1.065 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.825e-05/0.2447, allocations: 12 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006575/0.2453, allocations: 471.2 kB / 1.065 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.374e-05/0.2454, allocations: 83.78 kB / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.2456, allocations: 133.1 kB / 1.065 GB, free: 14 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000563/0.2461, allocations: 494.8 kB / 1.066 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.2461, allocations: 0 / 1.066 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2462, allocations: 4 kB / 1.066 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.423e-06/0.2462, allocations: 0 / 1.066 GB, free: 13.51 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.0007801/0.2469, allocations: 0.5187 MB / 1.066 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.247, allocations: 8.031 kB / 1.066 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.664e-05/0.2471, allocations: 58.67 kB / 1.066 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009022/0.248, allocations: 144.5 kB / 1.067 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002896/0.2483, allocations: 253 kB / 1.067 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.2483, allocations: 16.81 kB / 1.067 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.686e-05/0.2484, allocations: 23.92 kB / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006369/0.249, allocations: 397.9 kB / 1.067 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.249, allocations: 0 / 1.067 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.981e-05/0.2491, allocations: 8 kB / 1.067 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.447e-05/0.2491, allocations: 23.98 kB / 1.067 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007066/0.2498, allocations: 387.6 kB / 1.068 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001866/0.2517, allocations: 1.757 MB / 1.069 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007194/0.2524, allocations: 356.9 kB / 1.07 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003457/0.2528, allocations: 197.6 kB / 1.07 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001248/0.2529, allocations: 93.09 kB / 1.07 GB, free: 9 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.2529, allocations: 34.56 kB / 1.07 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=25): time 1.453e-06/0.253, allocations: 0 / 1.07 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of matching and sorting (n=35): time 0.008725/0.2617, allocations: 2.21 MB / 1.072 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.2617, allocations: 81.11 kB / 1.072 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.2619, allocations: 183.5 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.684e-05/0.2619, allocations: 33.7 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.074e-05/0.262, allocations: 148.4 kB / 1.073 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.2621, allocations: 126.1 kB / 1.073 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.561e-05/0.2622, allocations: 37.7 kB / 1.073 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.2623, allocations: 334.8 kB / 1.073 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005391/0.2629, allocations: 267.8 kB / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005756/0.2634, allocations: 361.5 kB / 1.074 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.2646, allocations: 0.6423 MB / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.2646, allocations: 4 kB / 1.074 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001281/0.2659, allocations: 0.6825 MB / 1.075 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.123e-05/0.266, allocations: 148.9 kB / 1.075 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.266, allocations: 0 / 1.075 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.266, allocations: 12 kB / 1.075 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009133/0.2669, allocations: 163.7 kB / 1.075 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.267, allocations: 4 kB / 1.075 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004415/0.2674, allocations: 59.92 kB / 1.075 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.912e-05/0.2675, allocations: 23.92 kB / 1.075 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.432e-06/0.2675, allocations: 4 kB / 1.075 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001218/0.2687, allocations: 0.6128 MB / 1.076 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2687, allocations: 4 kB / 1.076 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.42e-06/0.2687, allocations: 4 kB / 1.076 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000856/0.2696, allocations: 159.7 kB / 1.076 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.2696, allocations: 4 kB / 1.076 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004085/0.27, allocations: 56.08 kB / 1.076 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.474e-05/0.27, allocations: 16 kB / 1.076 GB, free: 2.453 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.0001868/0.2702, allocations: 245 kB / 1.076 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.833e-05/0.2703, allocations: 31.69 kB / 1.076 GB, free: 2.172 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001358/0.2717, allocations: 0.7041 MB / 1.077 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.2717, allocations: 8 kB / 1.077 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.2717, allocations: 0 / 1.077 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.2717, allocations: 0 / 1.077 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001978/0.2737, allocations: 1.39 MB / 1.079 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.2737, allocations: 4 kB / 1.079 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005465/0.2743, allocations: 135.7 kB / 1.079 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.2743, allocations: 8.25 kB / 1.079 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.503e-05/0.2743, allocations: 8 kB / 1.079 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.2743, allocations: 4 kB / 1.079 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.2743, allocations: 3.938 kB / 1.079 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000956/0.2753, allocations: 0.7307 MB / 1.079 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.2754, allocations: 144.7 kB / 1.08 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.384e-05/0.2755, allocations: 12 kB / 1.08 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003554/0.2758, allocations: 47.94 kB / 1.08 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.39e-05/0.2759, allocations: 31.89 kB / 1.08 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.429e-05/0.276, allocations: 16 kB / 1.08 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001665/0.2761, allocations: 155 kB / 1.08 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2761, allocations: 0 / 1.08 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005694/0.2767, allocations: 148 kB / 1.08 GB, free: 14.47 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.001293/0.278, allocations: 1.299 MB / 1.081 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00162/0.2796, allocations: 0.9105 MB / 1.082 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.2797, allocations: 0 / 1.082 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004803/0.2801, allocations: 268.6 kB / 1.082 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005023/0.2807, allocations: 46.03 kB / 1.082 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005325/0.286, allocations: 4.034 MB / 1.086 GB, free: 7.688 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.2863, allocations: 0.7799 MB / 1.087 GB, free: 6.883 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0005387/0.2869, allocations: 178.8 kB / 1.087 GB, free: 6.703 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002/0.2871, allocations: 87.39 kB / 1.087 GB, free: 6.617 MB / 0.8419 GB Notification: Performance of SimCode: time 3.91e-07/0.2871, allocations: 0 / 1.087 GB, free: 6.617 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8799/1.167, allocations: 7.151 MB / 1.094 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002467/1.167, allocations: 235.8 kB / 1.095 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.801/2.969, allocations: 1.719 kB / 1.095 GB, free: 15.41 MB / 0.8575 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches