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.001294/0.001294, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 192.8 kB / 16.53 MB, free: 6.391 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.256/1.256, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.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.312/2.312, allocations: 437 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 63.91 kB / 0.8694 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4621/0.4633, allocations: 151.6 MB / 1.017 GB, free: 2.453 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.003785/0.4672, allocations: 2.742 MB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002708/0.4699, allocations: 2.085 MB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.002e-05/0.47, allocations: 8 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0007096/0.4707, allocations: 227.1 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003767/0.4711, allocations: 223 kB / 1.023 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004954/0.4716, allocations: 281.2 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002882/0.4719, allocations: 315 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002717/0.4722, allocations: 162 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.4723, allocations: 119.6 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002255/0.4726, allocations: 147.5 kB / 1.024 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.74e-05/0.4726, allocations: 23.98 kB / 1.024 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005354/0.4732, allocations: 415.2 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.652e-05/0.4733, allocations: 99.77 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.4734, allocations: 111.4 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004959/0.4739, allocations: 488.9 kB / 1.025 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.4739, allocations: 0 / 1.025 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4739, allocations: 4 kB / 1.025 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.4739, allocations: 0 / 1.025 GB, free: 11.03 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.0008237/0.4747, allocations: 0.5576 MB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.4748, allocations: 15.98 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.552e-05/0.4748, allocations: 58.72 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009215/0.4758, allocations: 132.5 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.476, allocations: 253 kB / 1.026 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.4761, allocations: 20.8 kB / 1.026 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.637e-05/0.4761, allocations: 19.94 kB / 1.026 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006321/0.4768, allocations: 397.9 kB / 1.026 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.4768, allocations: 7.938 kB / 1.026 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.08e-05/0.4768, allocations: 7.984 kB / 1.026 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.873e-05/0.4769, allocations: 23.98 kB / 1.026 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006925/0.4776, allocations: 371.6 kB / 1.026 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001835/0.4794, allocations: 1.745 MB / 1.028 GB, free: 7.172 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006969/0.4801, allocations: 351.5 kB / 1.028 GB, free: 6.812 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003318/0.4805, allocations: 193.6 kB / 1.029 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001243/0.4806, allocations: 97.03 kB / 1.029 GB, free: 6.504 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.4806, allocations: 38.55 kB / 1.029 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=25): time 1.443e-06/0.4806, allocations: 0 / 1.029 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of matching and sorting (n=35): time 0.008631/0.4893, allocations: 2.042 MB / 1.031 GB, free: 4.406 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.4893, allocations: 81.11 kB / 1.031 GB, free: 4.309 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.4895, allocations: 183.7 kB / 1.031 GB, free: 4.121 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/0.4895, allocations: 33.7 kB / 1.031 GB, free: 4.082 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.118e-05/0.4896, allocations: 152.4 kB / 1.031 GB, free: 3.93 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.341e-05/0.4897, allocations: 122.2 kB / 1.031 GB, free: 3.809 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.4899, allocations: 77.67 kB / 1.031 GB, free: 3.727 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.49, allocations: 330.8 kB / 1.032 GB, free: 3.395 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005362/0.4905, allocations: 264.7 kB / 1.032 GB, free: 3.133 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005915/0.4911, allocations: 349.4 kB / 1.032 GB, free: 2.758 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/0.4923, allocations: 0.6228 MB / 1.033 GB, free: 2.105 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4923, allocations: 4 kB / 1.033 GB, free: 2.102 MB / 0.7794 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001308/0.4936, allocations: 0.6661 MB / 1.034 GB, free: 1.43 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.4936, allocations: 4 kB / 1.034 GB, free: 1.426 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.4936, allocations: 4 kB / 1.034 GB, free: 1.422 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.4936, allocations: 4 kB / 1.034 GB, free: 1.418 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000932/0.4946, allocations: 155.7 kB / 1.034 GB, free: 1.266 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.4946, allocations: 4 kB / 1.034 GB, free: 1.262 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004521/0.495, allocations: 60.11 kB / 1.034 GB, free: 1.203 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-05/0.4951, allocations: 15.98 kB / 1.034 GB, free: 1.188 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006129/0.4957, allocations: 367.9 kB / 1.034 GB, free: 0.8242 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005565/0.4963, allocations: 329.9 kB / 1.034 GB, free: 480 kB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001103/0.4974, allocations: 0.6058 MB / 1.035 GB, free: 15.83 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.693e-06/0.4974, allocations: 0 / 1.035 GB, free: 15.83 MB / 0.795 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001291/0.4987, allocations: 0.6297 MB / 1.036 GB, free: 15.2 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 8.766e-06/0.4987, allocations: 12.22 kB / 1.036 GB, free: 15.18 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.755e-06/0.4987, allocations: 4 kB / 1.036 GB, free: 15.18 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.83e-06/0.4987, allocations: 4 kB / 1.036 GB, free: 15.18 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008848/0.4996, allocations: 151.8 kB / 1.036 GB, free: 15.03 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.4996, allocations: 7.938 kB / 1.036 GB, free: 15.02 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004433/0.5001, allocations: 51.92 kB / 1.036 GB, free: 14.97 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.612e-05/0.5001, allocations: 16 kB / 1.036 GB, free: 14.95 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.0001386/0.5003, allocations: 204.1 kB / 1.036 GB, free: 14.75 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.592e-05/0.5004, allocations: 23.72 kB / 1.036 GB, free: 14.72 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001418/0.5018, allocations: 0.6842 MB / 1.037 GB, free: 14.03 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.5018, allocations: 8 kB / 1.037 GB, free: 14.02 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.5018, allocations: 3.938 kB / 1.037 GB, free: 14.02 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.5018, allocations: 0 / 1.037 GB, free: 14.02 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002137/0.504, allocations: 1.364 MB / 1.038 GB, free: 12.55 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.504, allocations: 4 kB / 1.038 GB, free: 12.55 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00058/0.5046, allocations: 124.1 kB / 1.038 GB, free: 12.43 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.5046, allocations: 4 kB / 1.038 GB, free: 12.43 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/0.5046, allocations: 11.94 kB / 1.038 GB, free: 12.41 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.401e-06/0.5046, allocations: 7.984 kB / 1.038 GB, free: 12.41 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.5046, allocations: 3.938 kB / 1.038 GB, free: 12.4 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009712/0.5056, allocations: 0.7073 MB / 1.039 GB, free: 11.66 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001504/0.5058, allocations: 140.9 kB / 1.039 GB, free: 11.5 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.35e-05/0.5058, allocations: 19.78 kB / 1.039 GB, free: 11.48 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003637/0.5062, allocations: 47.94 kB / 1.039 GB, free: 11.43 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.57e-05/0.5063, allocations: 23.97 kB / 1.039 GB, free: 11.41 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.522e-05/0.5063, allocations: 12 kB / 1.039 GB, free: 11.4 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001715/0.5065, allocations: 160.3 kB / 1.039 GB, free: 11.24 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5065, allocations: 0 / 1.039 GB, free: 11.24 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006048/0.5071, allocations: 144 kB / 1.04 GB, free: 11.1 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.001309/0.5084, allocations: 1.28 MB / 1.041 GB, free: 9.773 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00176/0.5102, allocations: 0.9256 MB / 1.042 GB, free: 8.848 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5102, allocations: 3.938 kB / 1.042 GB, free: 8.844 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0004508/0.5107, allocations: 255.7 kB / 1.042 GB, free: 8.594 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004938/0.5112, allocations: 38.8 kB / 1.042 GB, free: 8.559 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005517/0.5167, allocations: 3.882 MB / 1.046 GB, free: 4.496 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.517, allocations: 0.7838 MB / 1.046 GB, free: 3.688 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0005732/0.5176, allocations: 174.8 kB / 1.047 GB, free: 3.512 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002108/0.5178, allocations: 87.33 kB / 1.047 GB, free: 3.426 MB / 0.795 GB Notification: Performance of SimCode: time 2.41e-07/0.5179, allocations: 0 / 1.047 GB, free: 3.426 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1391/0.657, allocations: 7.634 MB / 1.054 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.898/8.555, allocations: 7.984 kB / 1.054 GB, free: 11.93 MB / 0.8106 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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