Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.OnePhase.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_10_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.005488/0.005488, allocations: 101 kB / 15.73 MB, free: 6.059 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.001343/0.001343, allocations: 194.3 kB / 16.68 MB, free: 5.969 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.459/1.459, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.582/2.582, allocations: 437 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 71.83 kB / 1.018 GB, free: 9.883 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.729/0.731, allocations: 151.6 MB / 1.166 GB, free: 3.734 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.004908/0.736, allocations: 2.752 MB / 1.169 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003395/0.7394, allocations: 2.085 MB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.7395, allocations: 7.938 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0008183/0.7404, allocations: 224.3 kB / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0004897/0.7409, allocations: 219.1 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006188/0.7415, allocations: 275.2 kB / 1.172 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003949/0.7419, allocations: 319 kB / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003205/0.7422, allocations: 162 kB / 1.172 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001761/0.7424, allocations: 123.6 kB / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002932/0.7427, allocations: 159.5 kB / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.94e-05/0.7428, allocations: 16 kB / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006532/0.7434, allocations: 423.2 kB / 1.173 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.7435, allocations: 87.78 kB / 1.173 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.7437, allocations: 115.4 kB / 1.173 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006417/0.7443, allocations: 490 kB / 1.173 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.7444, allocations: 0 / 1.173 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7444, allocations: 0 / 1.173 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.7444, allocations: 0 / 1.173 GB, free: 12.3 MB / 0.9044 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.0009692/0.7453, allocations: 0.5647 MB / 1.174 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.7454, allocations: 12.92 kB / 1.174 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.239e-05/0.7455, allocations: 62.72 kB / 1.174 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009942/0.7465, allocations: 128.6 kB / 1.174 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003373/0.7468, allocations: 270.1 kB / 1.174 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.7469, allocations: 16.81 kB / 1.174 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.739e-05/0.7469, allocations: 19.94 kB / 1.174 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007386/0.7477, allocations: 401.8 kB / 1.175 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.7477, allocations: 0 / 1.175 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.652e-05/0.7477, allocations: 12 kB / 1.175 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.733e-05/0.7478, allocations: 23.92 kB / 1.175 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008034/0.7486, allocations: 371.5 kB / 1.175 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0022/0.7508, allocations: 1.749 MB / 1.177 GB, free: 8.434 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008136/0.7516, allocations: 363.1 kB / 1.177 GB, free: 8.062 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000384/0.752, allocations: 185.6 kB / 1.177 GB, free: 7.875 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001623/0.7522, allocations: 89.09 kB / 1.177 GB, free: 7.77 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.7522, allocations: 42.5 kB / 1.178 GB, free: 7.719 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=25): time 1.874e-06/0.7523, allocations: 0 / 1.178 GB, free: 7.719 MB / 0.9044 GB Notification: Performance of matching and sorting (n=35): time 0.009105/0.7614, allocations: 2.044 MB / 1.18 GB, free: 5.668 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.323e-05/0.7615, allocations: 85.11 kB / 1.18 GB, free: 5.566 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002682/0.7617, allocations: 177.3 kB / 1.18 GB, free: 5.383 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.1e-05/0.7618, allocations: 41.69 kB / 1.18 GB, free: 5.336 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.7619, allocations: 148.6 kB / 1.18 GB, free: 5.188 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.762, allocations: 126.9 kB / 1.18 GB, free: 5.062 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001712/0.7622, allocations: 77.67 kB / 1.18 GB, free: 4.98 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001891/0.7624, allocations: 330.8 kB / 1.18 GB, free: 4.648 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006102/0.763, allocations: 276.6 kB / 1.181 GB, free: 4.375 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000671/0.7637, allocations: 345.4 kB / 1.181 GB, free: 4.004 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/0.7651, allocations: 0.6195 MB / 1.182 GB, free: 3.355 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.7651, allocations: 0 / 1.182 GB, free: 3.355 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001546/0.7666, allocations: 0.6661 MB / 1.182 GB, free: 2.684 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.7667, allocations: 4 kB / 1.182 GB, free: 2.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.7667, allocations: 4 kB / 1.182 GB, free: 2.676 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.571e-05/0.7667, allocations: 4 kB / 1.182 GB, free: 2.672 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009996/0.7677, allocations: 156 kB / 1.182 GB, free: 2.52 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/0.7677, allocations: 4 kB / 1.182 GB, free: 2.516 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004703/0.7682, allocations: 59.91 kB / 1.183 GB, free: 2.457 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.101e-05/0.7683, allocations: 19.98 kB / 1.183 GB, free: 2.438 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007194/0.769, allocations: 371.9 kB / 1.183 GB, free: 2.07 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000633/0.7696, allocations: 341.8 kB / 1.183 GB, free: 1.703 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001209/0.7709, allocations: 0.5864 MB / 1.184 GB, free: 1.086 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.653e-06/0.7709, allocations: 4 kB / 1.184 GB, free: 1.082 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001396/0.7723, allocations: 0.6415 MB / 1.184 GB, free: 440 kB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.7723, allocations: 10.5 kB / 1.184 GB, free: 432 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.926e-06/0.7723, allocations: 0 / 1.184 GB, free: 432 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.539e-06/0.7723, allocations: 4 kB / 1.184 GB, free: 428 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008802/0.7732, allocations: 151.8 kB / 1.185 GB, free: 276 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.7732, allocations: 4.188 kB / 1.185 GB, free: 272 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004423/0.7737, allocations: 55.92 kB / 1.185 GB, free: 216 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.214e-05/0.7737, allocations: 23.88 kB / 1.185 GB, free: 192 kB / 0.9044 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.0002047/0.7739, allocations: 196.2 kB / 1.185 GB, free: 15.98 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.372e-05/0.774, allocations: 31.86 kB / 1.185 GB, free: 15.95 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001503/0.7756, allocations: 0.6843 MB / 1.186 GB, free: 15.26 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.7756, allocations: 4 kB / 1.186 GB, free: 15.26 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.7756, allocations: 0 / 1.186 GB, free: 15.26 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.7756, allocations: 0 / 1.186 GB, free: 15.26 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002312/0.7779, allocations: 1.375 MB / 1.187 GB, free: 13.79 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.7779, allocations: 4.234 kB / 1.187 GB, free: 13.78 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005922/0.7785, allocations: 123.8 kB / 1.187 GB, free: 13.66 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.7785, allocations: 4 kB / 1.187 GB, free: 13.66 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.065e-05/0.7786, allocations: 11.94 kB / 1.187 GB, free: 13.64 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.7786, allocations: 4 kB / 1.187 GB, free: 13.64 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.7786, allocations: 3.938 kB / 1.187 GB, free: 13.64 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/0.7797, allocations: 0.7086 MB / 1.188 GB, free: 12.89 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/0.7799, allocations: 136.9 kB / 1.188 GB, free: 12.74 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.257e-05/0.7799, allocations: 15.94 kB / 1.188 GB, free: 12.72 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003739/0.7803, allocations: 43.94 kB / 1.188 GB, free: 12.68 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.647e-05/0.7804, allocations: 27.91 kB / 1.188 GB, free: 12.65 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.649e-05/0.7804, allocations: 8 kB / 1.188 GB, free: 12.64 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001932/0.7806, allocations: 160.9 kB / 1.188 GB, free: 12.49 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7807, allocations: 3.938 kB / 1.188 GB, free: 12.48 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0006524/0.7813, allocations: 143.9 kB / 1.188 GB, free: 12.34 MB / 0.92 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.7828, allocations: 1.299 MB / 1.19 GB, free: 10.99 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001877/0.7847, allocations: 0.8667 MB / 1.19 GB, free: 10.12 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.7847, allocations: 0 / 1.19 GB, free: 10.12 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0004868/0.7852, allocations: 256.9 kB / 1.191 GB, free: 9.875 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005343/0.7858, allocations: 55.64 kB / 1.191 GB, free: 9.824 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006234/0.792, allocations: 3.898 MB / 1.194 GB, free: 5.75 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004529/0.7925, allocations: 0.7838 MB / 1.195 GB, free: 4.941 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0005572/0.7931, allocations: 174.8 kB / 1.195 GB, free: 4.773 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002299/0.7933, allocations: 83.39 kB / 1.196 GB, free: 4.691 MB / 0.92 GB Notification: Performance of SimCode: time 4.31e-07/0.7933, allocations: 0 / 1.196 GB, free: 4.691 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03056/0.8239, allocations: 7.725 MB / 1.203 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.416/9.24, allocations: 4.062 kB / 1.203 GB, free: 13.12 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches