Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: 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_9_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_9_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.0009785/0.0009785, 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.006649/0.006649, 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.597/1.597, allocations: 223.3 MB / 240.3 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.752/2.752, allocations: 390.9 MB / 0.6663 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004043/0.0004044, allocations: 12 kB / 0.816 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9934/0.9938, allocations: 142.4 MB / 0.955 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.004633/0.9985, allocations: 3.032 MB / 0.958 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003983/1.003, allocations: 2.148 MB / 0.9601 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002278/1.003, allocations: 2.75 kB / 0.9601 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000255/1.003, allocations: 45.14 kB / 0.9601 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007717/1.004, allocations: 216.7 kB / 0.9604 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009306/1.005, allocations: 262.9 kB / 0.9606 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006812/1.006, allocations: 0.5299 MB / 0.9611 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005784/1.006, allocations: 331.2 kB / 0.9614 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002259/1.006, allocations: 124.3 kB / 0.9616 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003598/1.007, allocations: 173.8 kB / 0.9617 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/1.007, allocations: 12.19 kB / 0.9617 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009022/1.008, allocations: 0.4968 MB / 0.9622 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001165/1.008, allocations: 97.33 kB / 0.9623 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001508/1.008, allocations: 152.8 kB / 0.9625 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006833/1.009, allocations: 0.5198 MB / 0.963 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/1.009, allocations: 0 / 0.963 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.417e-06/1.009, allocations: 0 / 0.963 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.135e-06/1.009, allocations: 1.094 kB / 0.963 GB, free: 1.914 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001063/1.01, allocations: 0.5689 MB / 0.9635 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.643e-05/1.01, allocations: 9.625 kB / 0.9635 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009448/1.011, allocations: 124.8 kB / 0.9637 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004278/1.011, allocations: 274.7 kB / 0.9639 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.745e-05/1.011, allocations: 21.08 kB / 0.9639 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.919e-05/1.011, allocations: 18.31 kB / 0.964 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007746/1.012, allocations: 423.5 kB / 0.9644 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/1.012, allocations: 1.094 kB / 0.9644 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.874e-05/1.012, allocations: 18.03 kB / 0.9644 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.405e-05/1.012, allocations: 39.94 kB / 0.9644 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007087/1.013, allocations: 358.7 kB / 0.9648 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002912/1.016, allocations: 2.057 MB / 0.9668 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009735/1.017, allocations: 363.6 kB / 0.9671 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005126/1.017, allocations: 192.9 kB / 0.9673 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001395/1.018, allocations: 87.88 kB / 0.9674 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/1.018, allocations: 40.62 kB / 0.9674 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=22): time 2.405e-06/1.018, allocations: 0 / 0.9674 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of matching and sorting (n=34): time 0.005994/1.024, allocations: 1.754 MB / 0.9691 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.624e-05/1.024, allocations: 85.55 kB / 0.9692 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003184/1.024, allocations: 234.6 kB / 0.9694 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.274e-05/1.024, allocations: 35.23 kB / 0.9695 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/1.024, allocations: 179 kB / 0.9696 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/1.024, allocations: 120.8 kB / 0.9698 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.549e-05/1.024, allocations: 37.2 kB / 0.9698 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001987/1.025, allocations: 338.4 kB / 0.9701 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004594/1.025, allocations: 202.5 kB / 0.9703 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000578/1.026, allocations: 314.4 kB / 0.9706 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/1.027, allocations: 0.5278 MB / 0.9711 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/1.027, allocations: 1.906 kB / 0.9711 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001537/1.028, allocations: 0.6827 MB / 0.9718 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.000184/1.028, allocations: 175.5 kB / 0.972 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/1.029, allocations: 7.375 kB / 0.972 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005976/1.029, allocations: 144.1 kB / 0.9721 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004923/1.03, allocations: 97.19 kB / 0.9722 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003696/1.033, allocations: 3.956 MB / 0.9761 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004223/1.034, allocations: 41.8 kB / 0.9761 GB, free: 7.074 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.708e-05/1.034, allocations: 13.94 kB / 0.9761 GB, free: 7.074 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/1.034, allocations: 2.875 kB / 0.9761 GB, free: 7.074 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001432/1.035, allocations: 0.626 MB / 0.9767 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/1.035, allocations: 3.688 kB / 0.9767 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004343/1.036, allocations: 149.1 kB / 0.9769 GB, free: 6.652 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000439/1.036, allocations: 96.38 kB / 0.977 GB, free: 6.629 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007539/1.037, allocations: 1.113 MB / 0.978 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003688/1.037, allocations: 37.81 kB / 0.9781 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.203e-05/1.037, allocations: 16.88 kB / 0.9781 GB, free: 5.508 MB / 0.7325 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.0003224/1.038, allocations: 250.5 kB / 0.9783 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/1.038, allocations: 29.41 kB / 0.9784 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001604/1.039, allocations: 0.6441 MB / 0.979 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/1.039, allocations: 4.25 kB / 0.979 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/1.039, allocations: 1.188 kB / 0.979 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/1.039, allocations: 1 kB / 0.979 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00286/1.042, allocations: 1.345 MB / 0.9803 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/1.042, allocations: 2.719 kB / 0.9803 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003003/1.043, allocations: 63.59 kB / 0.9804 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005723/1.043, allocations: 164.3 kB / 0.9805 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.643e-05/1.043, allocations: 11.84 kB / 0.9805 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003926/1.047, allocations: 3.961 MB / 0.9844 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.28e-05/1.047, allocations: 10.77 kB / 0.9844 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001597/1.049, allocations: 0.7794 MB / 0.9852 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003076/1.049, allocations: 148.6 kB / 0.9853 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.239e-05/1.049, allocations: 16 kB / 0.9853 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003659/1.05, allocations: 35.95 kB / 0.9854 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/1.05, allocations: 31.91 kB / 0.9854 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-05/1.05, allocations: 12 kB / 0.9854 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002372/1.05, allocations: 172.5 kB / 0.9856 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/1.05, allocations: 0 / 0.9856 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001083/1.051, allocations: 164 kB / 0.9857 GB, free: 14.37 MB / 0.7481 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.0003513/1.052, allocations: 139.6 kB / 0.9859 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002464/1.054, allocations: 1.197 MB / 0.987 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/1.054, allocations: 0 / 0.987 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008064/1.055, allocations: 0.4906 MB / 0.9875 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006828/1.056, allocations: 56.39 kB / 0.9876 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/1.057, allocations: 0.8966 MB / 0.9885 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005031/1.058, allocations: 0.8045 MB / 0.9892 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003937/1.058, allocations: 114.9 kB / 0.9893 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.208e-05/1.058, allocations: 27.42 kB / 0.9894 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of SimCode: time 1.303e-06/1.058, allocations: 0 / 0.9894 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of Templates: time 0.01173/1.07, allocations: 5.652 MB / 0.9949 GB, free: 4.852 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches