Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_9_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.0008871/0.0008871, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.005458/0.005458, allocations: 174.8 kB / 16.27 MB, free: 6.648 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.249/1.249, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.173/2.173, allocations: 390.9 MB / 0.6664 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002961/0.0002961, allocations: 12 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5874/0.5877, allocations: 142.4 MB / 0.9552 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.002875/0.5906, allocations: 2.43 MB / 0.9576 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002761/0.5934, allocations: 2.088 MB / 0.9596 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000183/0.5936, allocations: 2.75 kB / 0.9596 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001734/0.5938, allocations: 27.91 kB / 0.9596 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005806/0.5944, allocations: 198.1 kB / 0.9598 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006761/0.5951, allocations: 246.8 kB / 0.96 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004753/0.5956, allocations: 451.4 kB / 0.9605 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005909/0.5962, allocations: 367.3 kB / 0.9608 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001846/0.5964, allocations: 105 kB / 0.9609 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003226/0.5967, allocations: 149.3 kB / 0.9611 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.806e-05/0.5967, allocations: 13.56 kB / 0.9611 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007493/0.5975, allocations: 477.7 kB / 0.9615 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.5976, allocations: 81.78 kB / 0.9616 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001084/0.5977, allocations: 131.8 kB / 0.9617 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005535/0.5983, allocations: 495.7 kB / 0.9622 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.5983, allocations: 4 kB / 0.9622 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5983, allocations: 1.062 kB / 0.9622 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.5983, allocations: 0 / 0.9622 GB, free: 2.457 MB / 0.7169 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.0007238/0.599, allocations: 0.517 MB / 0.9627 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.5991, allocations: 10.44 kB / 0.9627 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.498e-05/0.5992, allocations: 58.27 kB / 0.9628 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009091/0.6001, allocations: 141.4 kB / 0.9629 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.6003, allocations: 255.6 kB / 0.9632 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.6003, allocations: 16.44 kB / 0.9632 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.023e-05/0.6004, allocations: 24.61 kB / 0.9632 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006209/0.601, allocations: 402.4 kB / 0.9636 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.6011, allocations: 0.7812 kB / 0.9636 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.078e-05/0.6011, allocations: 6.531 kB / 0.9636 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.685e-05/0.6011, allocations: 28.27 kB / 0.9636 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006509/0.6018, allocations: 380.6 kB / 0.964 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001775/0.6036, allocations: 1.745 MB / 0.9657 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007269/0.6043, allocations: 355.3 kB / 0.966 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003621/0.6047, allocations: 201.1 kB / 0.9662 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001336/0.6048, allocations: 87.25 kB / 0.9663 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.6049, allocations: 32.94 kB / 0.9663 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=25): time 1.603e-06/0.6049, allocations: 5.031 kB / 0.9663 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of matching and sorting (n=35): time 0.009119/0.614, allocations: 2.218 MB / 0.9685 GB, free: 14 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/0.6141, allocations: 85.67 kB / 0.9686 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.6143, allocations: 187.8 kB / 0.9688 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.864e-05/0.6143, allocations: 31.14 kB / 0.9688 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.136e-05/0.6144, allocations: 150.4 kB / 0.9689 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.6145, allocations: 117.2 kB / 0.9691 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.045e-05/0.6146, allocations: 40.42 kB / 0.9691 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.6147, allocations: 331.8 kB / 0.9694 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005893/0.6153, allocations: 273.5 kB / 0.9697 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006474/0.616, allocations: 348.3 kB / 0.97 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/0.6172, allocations: 0.6431 MB / 0.9706 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.6172, allocations: 0 / 0.9706 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001415/0.6187, allocations: 0.6828 MB / 0.9713 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.6188, allocations: 157.1 kB / 0.9714 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.6188, allocations: 7.062 kB / 0.9714 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.6188, allocations: 8.031 kB / 0.9715 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000963/0.6198, allocations: 156.4 kB / 0.9716 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.471e-05/0.6198, allocations: 7.25 kB / 0.9716 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000499/0.6203, allocations: 64.69 kB / 0.9717 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.884e-05/0.6204, allocations: 25.09 kB / 0.9717 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.207e-06/0.6204, allocations: 3.156 kB / 0.9717 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001332/0.6217, allocations: 0.611 MB / 0.9723 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.6217, allocations: 2.281 kB / 0.9723 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.923e-06/0.6218, allocations: 3.688 kB / 0.9723 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008657/0.6226, allocations: 158.7 kB / 0.9725 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.6226, allocations: 8.719 kB / 0.9725 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004548/0.6231, allocations: 58.27 kB / 0.9725 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.742e-05/0.6232, allocations: 20.73 kB / 0.9725 GB, free: 11.35 MB / 0.7325 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.0002338/0.6234, allocations: 239.1 kB / 0.9728 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.728e-05/0.6235, allocations: 25.97 kB / 0.9728 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00149/0.625, allocations: 0.7073 MB / 0.9735 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.625, allocations: 3.812 kB / 0.9735 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.625, allocations: 1.219 kB / 0.9735 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.625, allocations: 5.547 kB / 0.9735 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0023/0.6273, allocations: 1.387 MB / 0.9748 GB, free: 9.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.6274, allocations: 3.406 kB / 0.9749 GB, free: 9.641 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005749/0.6279, allocations: 128 kB / 0.975 GB, free: 9.602 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.689e-06/0.628, allocations: 11.12 kB / 0.975 GB, free: 9.594 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.117e-05/0.628, allocations: 8.844 kB / 0.975 GB, free: 9.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.628, allocations: 2.594 kB / 0.975 GB, free: 9.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.477e-06/0.628, allocations: 6.875 kB / 0.975 GB, free: 9.586 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.6291, allocations: 0.7307 MB / 0.9757 GB, free: 9.078 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001619/0.6292, allocations: 140.8 kB / 0.9758 GB, free: 8.945 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.345e-05/0.6293, allocations: 9.156 kB / 0.9759 GB, free: 8.941 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003813/0.6297, allocations: 48.91 kB / 0.9759 GB, free: 8.918 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.763e-05/0.6298, allocations: 28.44 kB / 0.9759 GB, free: 8.902 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.8e-05/0.6298, allocations: 13.91 kB / 0.9759 GB, free: 8.898 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001856/0.63, allocations: 154 kB / 0.9761 GB, free: 8.785 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.71e-07/0.63, allocations: 0 / 0.9761 GB, free: 8.785 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007141/0.6307, allocations: 144.6 kB / 0.9762 GB, free: 8.766 MB / 0.7325 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.001416/0.6322, allocations: 1.316 MB / 0.9775 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001764/0.6339, allocations: 0.899 MB / 0.9784 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.634, allocations: 0 / 0.9784 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004528/0.6344, allocations: 268.8 kB / 0.9786 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005547/0.635, allocations: 39.98 kB / 0.9787 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005803/0.6408, allocations: 4.056 MB / 0.9826 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.6412, allocations: 0.7799 MB / 0.9834 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0006024/0.6418, allocations: 182.7 kB / 0.9836 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00022/0.642, allocations: 83.41 kB / 0.9837 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of SimCode: time 4.91e-07/0.642, allocations: 0 / 0.9837 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01835/0.6604, allocations: 7.135 MB / 0.9906 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001874/0.6606, allocations: 219.1 kB / 0.9908 GB, free: 9.973 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.784/2.445, allocations: 3.75 kB / 0.9908 GB, free: 9.973 MB / 0.7481 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches