Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.ThreePhasesBalanced.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_10_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.0009076/0.0009076, allocations: 91.38 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.00572/0.00572, 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.283/1.283, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.457/2.457, allocations: 437.8 MB / 0.7121 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003671/0.0003671, allocations: 8 kB / 0.8729 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6083/0.6087, allocations: 153.8 MB / 1.023 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter): time 0.00306/0.6118, allocations: 2.509 MB / 1.026 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002908/0.6148, allocations: 2.003 MB / 1.028 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001513/0.615, allocations: 4 kB / 1.028 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001712/0.6151, allocations: 27.78 kB / 1.028 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005565/0.6157, allocations: 187.3 kB / 1.028 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006586/0.6164, allocations: 243.4 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004272/0.6168, allocations: 450.8 kB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005812/0.6174, allocations: 366.3 kB / 1.029 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001638/0.6176, allocations: 103.6 kB / 1.029 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002961/0.6179, allocations: 147.5 kB / 1.029 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.074e-05/0.6179, allocations: 12 kB / 1.029 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006359/0.6186, allocations: 455.1 kB / 1.029 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.833e-05/0.6187, allocations: 83.77 kB / 1.03 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.6188, allocations: 125.2 kB / 1.03 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004943/0.6193, allocations: 480.8 kB / 1.03 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.6193, allocations: 0 / 1.03 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6193, allocations: 0 / 1.03 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.6193, allocations: 0 / 1.03 GB, free: 8.57 MB / 0.7794 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.0007948/0.6201, allocations: 0.5108 MB / 1.031 GB, free: 8.012 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.6202, allocations: 16.02 kB / 1.031 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.172e-05/0.6202, allocations: 54.73 kB / 1.031 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007109/0.621, allocations: 108.5 kB / 1.031 GB, free: 7.828 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002468/0.6212, allocations: 253.2 kB / 1.031 GB, free: 7.543 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.6212, allocations: 16.81 kB / 1.031 GB, free: 7.527 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.106e-05/0.6213, allocations: 27.92 kB / 1.031 GB, free: 7.5 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005803/0.6219, allocations: 389.9 kB / 1.031 GB, free: 7.09 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.6219, allocations: 0 / 1.031 GB, free: 7.09 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.954e-05/0.6219, allocations: 15.92 kB / 1.031 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.675e-05/0.622, allocations: 23.98 kB / 1.031 GB, free: 7.051 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006184/0.6226, allocations: 371.6 kB / 1.032 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001742/0.6244, allocations: 1.745 MB / 1.034 GB, free: 4.797 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006025/0.625, allocations: 348.9 kB / 1.034 GB, free: 4.438 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002932/0.6253, allocations: 197.6 kB / 1.034 GB, free: 4.238 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001333/0.6254, allocations: 89.09 kB / 1.034 GB, free: 4.133 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.6254, allocations: 38.56 kB / 1.034 GB, free: 4.086 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=25): time 1.352e-06/0.6255, allocations: 0 / 1.034 GB, free: 4.086 MB / 0.7794 GB Notification: Performance of matching and sorting (n=35): time 0.007225/0.6327, allocations: 2.071 MB / 1.036 GB, free: 2.008 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.6327, allocations: 81.11 kB / 1.036 GB, free: 1.91 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.6329, allocations: 182.6 kB / 1.036 GB, free: 1.719 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.069e-05/0.6329, allocations: 33.7 kB / 1.036 GB, free: 1.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.247e-05/0.633, allocations: 148.4 kB / 1.037 GB, free: 1.531 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.511e-05/0.6331, allocations: 126.1 kB / 1.037 GB, free: 1.406 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.291e-05/0.6332, allocations: 37.69 kB / 1.037 GB, free: 1.363 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.624e-05/0.6333, allocations: 330.8 kB / 1.037 GB, free: 1.031 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004557/0.6338, allocations: 259.8 kB / 1.037 GB, free: 0.7773 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004987/0.6343, allocations: 349.5 kB / 1.038 GB, free: 412 kB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/0.6353, allocations: 0.6189 MB / 1.038 GB, free: 15.75 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.6353, allocations: 0 / 1.038 GB, free: 15.75 MB / 0.795 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001141/0.6364, allocations: 0.6543 MB / 1.039 GB, free: 15.09 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 9.172e-05/0.6365, allocations: 160.9 kB / 1.039 GB, free: 14.9 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.076e-06/0.6366, allocations: 4 kB / 1.039 GB, free: 14.9 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.6366, allocations: 4 kB / 1.039 GB, free: 14.89 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008652/0.6375, allocations: 147.8 kB / 1.039 GB, free: 14.75 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.6375, allocations: 7.938 kB / 1.039 GB, free: 14.74 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004107/0.6379, allocations: 59.92 kB / 1.039 GB, free: 14.68 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.036e-05/0.6379, allocations: 23.92 kB / 1.039 GB, free: 14.66 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 8.176e-06/0.638, allocations: 4 kB / 1.039 GB, free: 14.66 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001055/0.639, allocations: 0.5894 MB / 1.04 GB, free: 14.07 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.639, allocations: 0 / 1.04 GB, free: 14.07 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.56e-06/0.639, allocations: 8 kB / 1.04 GB, free: 14.06 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007916/0.6398, allocations: 148.1 kB / 1.04 GB, free: 13.91 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.6399, allocations: 7.938 kB / 1.04 GB, free: 13.91 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003714/0.6402, allocations: 55.92 kB / 1.04 GB, free: 13.85 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.384e-05/0.6403, allocations: 16 kB / 1.04 GB, free: 13.84 MB / 0.795 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.000196/0.6405, allocations: 241 kB / 1.04 GB, free: 13.59 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.821e-05/0.6406, allocations: 27.66 kB / 1.04 GB, free: 13.56 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001302/0.6419, allocations: 0.6879 MB / 1.041 GB, free: 12.86 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.6419, allocations: 4 kB / 1.041 GB, free: 12.86 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.6419, allocations: 0 / 1.041 GB, free: 12.86 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.6419, allocations: 8.016 kB / 1.041 GB, free: 12.85 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002099/0.644, allocations: 1.391 MB / 1.042 GB, free: 11.36 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.644, allocations: 0 / 1.042 GB, free: 11.36 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000571/0.6446, allocations: 127.8 kB / 1.043 GB, free: 11.24 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.6446, allocations: 4 kB / 1.043 GB, free: 11.23 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.804e-05/0.6447, allocations: 8 kB / 1.043 GB, free: 11.23 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.623e-06/0.6447, allocations: 7.938 kB / 1.043 GB, free: 11.22 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.6447, allocations: 7.938 kB / 1.043 GB, free: 11.21 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009808/0.6457, allocations: 0.7342 MB / 1.043 GB, free: 10.44 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.6458, allocations: 140.8 kB / 1.043 GB, free: 10.28 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.194e-05/0.6459, allocations: 8 kB / 1.043 GB, free: 10.27 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003392/0.6462, allocations: 43.94 kB / 1.043 GB, free: 10.23 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.093e-05/0.6463, allocations: 27.91 kB / 1.043 GB, free: 10.2 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.207e-05/0.6463, allocations: 16 kB / 1.043 GB, free: 10.19 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001177/0.6465, allocations: 148 kB / 1.044 GB, free: 10.04 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6465, allocations: 0 / 1.044 GB, free: 10.04 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006141/0.6471, allocations: 144 kB / 1.044 GB, free: 9.902 MB / 0.795 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.001365/0.6485, allocations: 1.321 MB / 1.045 GB, free: 8.535 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001546/0.65, allocations: 0.8716 MB / 1.046 GB, free: 7.664 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.65, allocations: 0 / 1.046 GB, free: 7.664 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0004491/0.6505, allocations: 273.8 kB / 1.046 GB, free: 7.398 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005349/0.651, allocations: 42.8 kB / 1.046 GB, free: 7.359 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005042/0.6561, allocations: 3.954 MB / 1.05 GB, free: 3.223 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.6564, allocations: 0.7799 MB / 1.051 GB, free: 2.418 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0005089/0.657, allocations: 174.8 kB / 1.051 GB, free: 2.242 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001999/0.6572, allocations: 79.41 kB / 1.051 GB, free: 2.164 MB / 0.795 GB Notification: Performance of SimCode: time 6.81e-07/0.6572, allocations: 0 / 1.051 GB, free: 2.164 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01695/0.6741, allocations: 6.76 MB / 1.058 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001902/0.6743, allocations: 231.1 kB / 1.058 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.754/2.428, allocations: 5.781 kB / 1.058 GB, free: 11.35 MB / 0.8106 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches