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.002222/0.002222, allocations: 105.5 kB / 16.41 MB, free: 6.488 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.002803/0.002803, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.481/1.481, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.262/2.262, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 63.89 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.093/1.094, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.005592/1.1, allocations: 3.36 MB / 1.092 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003798/1.104, allocations: 2.154 MB / 1.094 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001974/1.104, allocations: 4.594 kB / 1.094 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001035/1.105, allocations: 294.8 kB / 1.094 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006373/1.105, allocations: 233.3 kB / 1.094 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001019/1.106, allocations: 295.5 kB / 1.095 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006014/1.107, allocations: 407.9 kB / 1.095 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004466/1.108, allocations: 204.3 kB / 1.095 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002611/1.108, allocations: 151.5 kB / 1.096 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003974/1.108, allocations: 178.3 kB / 1.096 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.774e-05/1.108, allocations: 21.56 kB / 1.096 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008764/1.109, allocations: 431.3 kB / 1.096 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001504/1.109, allocations: 97.39 kB / 1.096 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001888/1.11, allocations: 142.9 kB / 1.096 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000865/1.11, allocations: 0.5135 MB / 1.097 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/1.11, allocations: 0.9375 kB / 1.097 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.543e-06/1.11, allocations: 4 kB / 1.097 GB, free: 500 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.234e-06/1.11, allocations: 0 / 1.097 GB, free: 500 kB / 0.8575 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.00117/1.112, allocations: 0.6089 MB / 1.097 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.759e-05/1.112, allocations: 9.812 kB / 1.097 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009766/1.113, allocations: 120.7 kB / 1.098 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004373/1.113, allocations: 287.2 kB / 1.098 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/1.113, allocations: 18.08 kB / 1.098 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.474e-05/1.113, allocations: 18.09 kB / 1.098 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008998/1.114, allocations: 418.6 kB / 1.098 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/1.114, allocations: 0.9062 kB / 1.098 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.046e-05/1.114, allocations: 11.66 kB / 1.098 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-05/1.114, allocations: 33.98 kB / 1.098 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007701/1.115, allocations: 347.2 kB / 1.099 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002807/1.118, allocations: 2.043 MB / 1.101 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009238/1.119, allocations: 354.2 kB / 1.101 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004576/1.119, allocations: 185 kB / 1.101 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001232/1.119, allocations: 90.31 kB / 1.101 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/1.119, allocations: 41.75 kB / 1.101 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=22): time 3.326e-06/1.119, allocations: 0 / 1.101 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of matching and sorting (n=34): time 0.005661/1.125, allocations: 1.58 MB / 1.103 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.862e-05/1.125, allocations: 85.8 kB / 1.103 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003627/1.126, allocations: 231.8 kB / 1.103 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.884e-05/1.126, allocations: 31.58 kB / 1.103 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000149/1.126, allocations: 186.4 kB / 1.103 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/1.126, allocations: 118.9 kB / 1.103 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001601/1.126, allocations: 74.92 kB / 1.104 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001583/1.126, allocations: 342.2 kB / 1.104 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000444/1.127, allocations: 196.9 kB / 1.104 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005554/1.127, allocations: 304.3 kB / 1.104 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009922/1.128, allocations: 0.5042 MB / 1.105 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/1.128, allocations: 1.312 kB / 1.105 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001453/1.13, allocations: 0.6708 MB / 1.105 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/1.13, allocations: 10.08 kB / 1.105 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/1.13, allocations: 6.5 kB / 1.105 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005461/1.13, allocations: 143.7 kB / 1.106 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004271/1.131, allocations: 93.53 kB / 1.106 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003374/1.134, allocations: 4.166 MB / 1.11 GB, free: 6.918 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003446/1.135, allocations: 31.44 kB / 1.11 GB, free: 6.914 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.986e-05/1.135, allocations: 22.88 kB / 1.11 GB, free: 6.906 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005919/1.135, allocations: 321.6 kB / 1.11 GB, free: 6.742 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004985/1.136, allocations: 299.2 kB / 1.11 GB, free: 6.555 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009559/1.137, allocations: 0.5056 MB / 1.111 GB, free: 6.27 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.687e-06/1.137, allocations: 1.156 kB / 1.111 GB, free: 6.27 MB / 0.8731 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001395/1.138, allocations: 0.6557 MB / 1.112 GB, free: 5.984 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/1.138, allocations: 7.281 kB / 1.112 GB, free: 5.984 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/1.138, allocations: 4.656 kB / 1.112 GB, free: 5.984 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004403/1.139, allocations: 147.1 kB / 1.112 GB, free: 5.922 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003979/1.139, allocations: 96.17 kB / 1.112 GB, free: 5.91 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002917/1.142, allocations: 4.164 MB / 1.116 GB, free: 1.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003496/1.142, allocations: 34.67 kB / 1.116 GB, free: 1.902 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.399e-05/1.142, allocations: 13.8 kB / 1.116 GB, free: 1.902 MB / 0.8731 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.0002023/1.142, allocations: 220.5 kB / 1.116 GB, free: 1.688 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.894e-05/1.143, allocations: 28.48 kB / 1.116 GB, free: 1.672 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001356/1.144, allocations: 0.6126 MB / 1.117 GB, free: 1.398 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/1.144, allocations: 3.906 kB / 1.117 GB, free: 1.398 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/1.144, allocations: 1.922 kB / 1.117 GB, free: 1.398 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/1.144, allocations: 1.828 kB / 1.117 GB, free: 1.398 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002676/1.147, allocations: 1.323 MB / 1.118 GB, free: 0.582 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/1.147, allocations: 3.094 kB / 1.118 GB, free: 0.582 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002923/1.147, allocations: 59.41 kB / 1.118 GB, free: 0.5781 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000451/1.147, allocations: 157.6 kB / 1.118 GB, free: 0.5078 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-05/1.147, allocations: 9.531 kB / 1.118 GB, free: 0.5039 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003249/1.151, allocations: 4.194 MB / 1.122 GB, free: 12.49 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/1.151, allocations: 1.406 kB / 1.122 GB, free: 12.49 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/1.152, allocations: 0.7703 MB / 1.123 GB, free: 12 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001799/1.152, allocations: 134.4 kB / 1.123 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.822e-05/1.152, allocations: 9.438 kB / 1.123 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003076/1.153, allocations: 37.34 kB / 1.123 GB, free: 11.87 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/1.153, allocations: 31.66 kB / 1.123 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.139e-05/1.153, allocations: 16.97 kB / 1.123 GB, free: 11.85 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002168/1.153, allocations: 168.6 kB / 1.123 GB, free: 11.75 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.1e-07/1.153, allocations: 0 / 1.123 GB, free: 11.75 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009618/1.154, allocations: 170.1 kB / 1.124 GB, free: 11.72 MB / 0.8887 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.0002744/1.154, allocations: 137.2 kB / 1.124 GB, free: 11.62 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002482/1.157, allocations: 1.247 MB / 1.125 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/1.157, allocations: 3.938 kB / 1.125 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008645/1.158, allocations: 488.6 kB / 1.125 GB, free: 10.61 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006033/1.158, allocations: 70.59 kB / 1.126 GB, free: 10.58 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/1.16, allocations: 0.7832 MB / 1.126 GB, free: 10.1 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004594/1.16, allocations: 0.8136 MB / 1.127 GB, free: 9.379 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/1.16, allocations: 27.45 kB / 1.127 GB, free: 9.371 MB / 0.8887 GB Notification: Performance of SimCode: time 4.61e-07/1.16, allocations: 1.5 kB / 1.127 GB, free: 9.371 MB / 0.8887 GB Notification: Performance of Templates: time 0.01784/1.178, allocations: 9.109 MB / 1.136 GB, free: 8.676 MB / 0.8887 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/jenkins1/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