Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.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: translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|res.S.1.|sou.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|res.S.1.|sou.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009114/0.0009114, allocations: 98.88 kB / 16.02 MB, free: 76 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.0008135/0.0008136, allocations: 186.5 kB / 16.92 MB, free: 6.77 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.308/1.308, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.529/2.529, allocations: 443.2 MB / 0.7181 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003361/0.0003361, allocations: 8.75 kB / 0.8801 GB, free: 42.74 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2845, allocations: 155.2 MB / 1.032 GB, free: 4.883 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.003621/0.2882, allocations: 3.026 MB / 1.035 GB, free: 1.844 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00305/0.2912, allocations: 2.147 MB / 1.037 GB, free: 15.68 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.2914, allocations: 4 kB / 1.037 GB, free: 15.68 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001726/0.2916, allocations: 47.64 kB / 1.037 GB, free: 15.63 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0005142/0.2921, allocations: 223.1 kB / 1.037 GB, free: 15.41 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006322/0.2927, allocations: 262.4 kB / 1.037 GB, free: 15.16 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0004866/0.2932, allocations: 0.5297 MB / 1.038 GB, free: 14.63 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004949/0.2937, allocations: 341.4 kB / 1.038 GB, free: 14.26 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001785/0.2939, allocations: 123.5 kB / 1.038 GB, free: 14.14 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002831/0.2942, allocations: 175.3 kB / 1.038 GB, free: 13.97 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.978e-05/0.2943, allocations: 12 kB / 1.038 GB, free: 13.96 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006776/0.2949, allocations: 0.4912 MB / 1.039 GB, free: 13.46 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 9.191e-05/0.295, allocations: 95.64 kB / 1.039 GB, free: 13.37 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.2952, allocations: 153 kB / 1.039 GB, free: 13.21 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004172/0.2956, allocations: 391.1 kB / 1.039 GB, free: 12.83 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.2956, allocations: 4 kB / 1.039 GB, free: 12.83 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2956, allocations: 0 / 1.039 GB, free: 12.83 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.2956, allocations: 0 / 1.039 GB, free: 12.83 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008475/0.2965, allocations: 0.5536 MB / 1.04 GB, free: 12.23 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.2965, allocations: 12.03 kB / 1.04 GB, free: 12.21 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008165/0.2974, allocations: 124.4 kB / 1.04 GB, free: 12.09 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/0.2977, allocations: 271.7 kB / 1.04 GB, free: 11.79 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.2977, allocations: 16.81 kB / 1.04 GB, free: 11.77 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.093e-05/0.2978, allocations: 24.31 kB / 1.04 GB, free: 11.75 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006603/0.2984, allocations: 427.8 kB / 1.041 GB, free: 11.3 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.2985, allocations: 0 / 1.041 GB, free: 11.3 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.267e-05/0.2985, allocations: 12 kB / 1.041 GB, free: 11.29 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.137e-05/0.2986, allocations: 32.55 kB / 1.041 GB, free: 11.26 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006173/0.2992, allocations: 357.9 kB / 1.041 GB, free: 10.91 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002264/0.3014, allocations: 2.069 MB / 1.043 GB, free: 8.652 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007576/0.3022, allocations: 353.1 kB / 1.044 GB, free: 8.289 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003904/0.3026, allocations: 205.5 kB / 1.044 GB, free: 8.082 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000106/0.3027, allocations: 89.09 kB / 1.044 GB, free: 7.977 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.3028, allocations: 38.56 kB / 1.044 GB, free: 7.93 MB / 0.795 GB Notification: Performance of pre-optimization done (n=22): time 1.703e-06/0.3028, allocations: 0 / 1.044 GB, free: 7.93 MB / 0.795 GB Notification: Performance of matching and sorting (n=34): time 0.00514/0.3079, allocations: 1.75 MB / 1.046 GB, free: 6.145 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.308, allocations: 85.05 kB / 1.046 GB, free: 6.043 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000233/0.3082, allocations: 240.9 kB / 1.046 GB, free: 5.793 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.046e-05/0.3083, allocations: 29.7 kB / 1.046 GB, free: 5.758 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.3084, allocations: 180.1 kB / 1.046 GB, free: 5.578 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.259e-05/0.3085, allocations: 118.3 kB / 1.046 GB, free: 5.461 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.579e-05/0.3085, allocations: 41.7 kB / 1.046 GB, free: 5.414 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.3086, allocations: 334.8 kB / 1.047 GB, free: 5.078 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003799/0.309, allocations: 200.7 kB / 1.047 GB, free: 4.883 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004439/0.3095, allocations: 317.1 kB / 1.047 GB, free: 4.531 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008378/0.3103, allocations: 0.528 MB / 1.048 GB, free: 3.961 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3103, allocations: 4 kB / 1.048 GB, free: 3.957 MB / 0.795 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001251/0.3116, allocations: 0.6759 MB / 1.048 GB, free: 3.262 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001266/0.3117, allocations: 188.2 kB / 1.048 GB, free: 3.031 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.3118, allocations: 0 / 1.048 GB, free: 3.031 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004997/0.3123, allocations: 151.3 kB / 1.049 GB, free: 2.871 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004118/0.3127, allocations: 103.8 kB / 1.049 GB, free: 2.77 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002662/0.3154, allocations: 3.942 MB / 1.053 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003285/0.3157, allocations: 40.03 kB / 1.053 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.192e-05/0.3157, allocations: 20 kB / 1.053 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 7.855e-06/0.3158, allocations: 6.188 kB / 1.053 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001187/0.3169, allocations: 0.6239 MB / 1.053 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.317, allocations: 4 kB / 1.053 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003689/0.3173, allocations: 143.3 kB / 1.053 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003809/0.3177, allocations: 108 kB / 1.053 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005806/0.3183, allocations: 1.109 MB / 1.055 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002894/0.3186, allocations: 39.88 kB / 1.055 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-05/0.3187, allocations: 23.97 kB / 1.055 GB, free: 12.32 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002233/0.3189, allocations: 250.6 kB / 1.055 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.626e-05/0.319, allocations: 27.72 kB / 1.055 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001252/0.3202, allocations: 0.6281 MB / 1.055 GB, free: 11.4 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.3203, allocations: 4 kB / 1.055 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.3203, allocations: 3.938 kB / 1.055 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.3203, allocations: 11.98 kB / 1.055 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002132/0.3224, allocations: 1.338 MB / 1.057 GB, free: 9.926 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.3224, allocations: 8 kB / 1.057 GB, free: 9.918 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002526/0.3227, allocations: 63.89 kB / 1.057 GB, free: 9.855 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004351/0.3231, allocations: 159.5 kB / 1.057 GB, free: 9.688 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.487e-05/0.3232, allocations: 8 kB / 1.057 GB, free: 9.68 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002712/0.3259, allocations: 3.965 MB / 1.061 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.3259, allocations: 8.047 kB / 1.061 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/0.3271, allocations: 0.7964 MB / 1.062 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001595/0.3273, allocations: 144.6 kB / 1.062 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.497e-05/0.3273, allocations: 11.98 kB / 1.062 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003089/0.3276, allocations: 35.97 kB / 1.062 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.065e-05/0.3277, allocations: 27.97 kB / 1.062 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.611e-05/0.3278, allocations: 15.98 kB / 1.062 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001522/0.3279, allocations: 172.5 kB / 1.062 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3279, allocations: 0 / 1.062 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0007446/0.3287, allocations: 156 kB / 1.062 GB, free: 3.965 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002205/0.3289, allocations: 147 kB / 1.062 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001988/0.3309, allocations: 1.194 MB / 1.063 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.3309, allocations: 0 / 1.063 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007193/0.3316, allocations: 0.49 MB / 1.064 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006184/0.3323, allocations: 55.83 kB / 1.064 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.3336, allocations: 0.9304 MB / 1.065 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/0.334, allocations: 0.8123 MB / 1.066 GB, free: 160 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.549e-05/0.3341, allocations: 23.44 kB / 1.066 GB, free: 136 kB / 0.8106 GB Notification: Performance of SimCode: time 3.31e-07/0.3341, allocations: 0 / 1.066 GB, free: 136 kB / 0.8106 GB Notification: Performance of Templates: time 0.01199/0.3461, allocations: 8.957 MB / 1.075 GB, free: 7.18 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches