Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.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: translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 105.8 kB / 16.41 MB, free: 6.465 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.001658/0.001658, allocations: 187 kB / 17.34 MB, free: 5.719 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.08 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.51/2.51, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 63.91 kB / 1.019 GB, free: 9.461 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9409/0.9421, allocations: 151.6 MB / 1.167 GB, free: 3.918 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull): time 0.007546/0.9497, allocations: 5.374 MB / 1.173 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.006494/0.9563, allocations: 4.084 MB / 1.177 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006298/0.9569, allocations: 19.88 kB / 1.177 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00159/0.9586, allocations: 0.5769 MB / 1.177 GB, free: 9.82 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001666/0.9602, allocations: 0.6844 MB / 1.178 GB, free: 9.133 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001372/0.9616, allocations: 0.5396 MB / 1.178 GB, free: 8.594 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001261/0.9629, allocations: 1.143 MB / 1.179 GB, free: 7.445 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005897/0.9635, allocations: 437.4 kB / 1.18 GB, free: 7.02 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005512/0.964, allocations: 474.3 kB / 1.18 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007238/0.9648, allocations: 0.5332 MB / 1.181 GB, free: 6.02 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.231e-05/0.9649, allocations: 64 kB / 1.181 GB, free: 5.957 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001302/0.9662, allocations: 0.8303 MB / 1.182 GB, free: 5.125 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.00029/0.9665, allocations: 339.1 kB / 1.182 GB, free: 4.793 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003629/0.9669, allocations: 429.8 kB / 1.182 GB, free: 4.371 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001581/0.9685, allocations: 1.404 MB / 1.184 GB, free: 2.965 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.9685, allocations: 4 kB / 1.184 GB, free: 2.961 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.124e-06/0.9685, allocations: 0 / 1.184 GB, free: 2.961 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.151e-05/0.9685, allocations: 0 / 1.184 GB, free: 2.961 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: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.00205/0.9706, allocations: 1.153 MB / 1.185 GB, free: 1.758 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.9706, allocations: 8.625 kB / 1.185 GB, free: 1.75 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009432/0.98, allocations: 1.716 MB / 1.187 GB, free: 28 kB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001458/0.9815, allocations: 0.6508 MB / 1.187 GB, free: 15.33 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.655e-05/0.9816, allocations: 49.66 kB / 1.187 GB, free: 15.29 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001658/0.9818, allocations: 60.34 kB / 1.187 GB, free: 15.23 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004737/0.9865, allocations: 1.913 MB / 1.189 GB, free: 13.25 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.939e-05/0.9866, allocations: 7.984 kB / 1.189 GB, free: 13.25 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001247/0.9867, allocations: 35.97 kB / 1.189 GB, free: 13.21 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003296/0.987, allocations: 145.4 kB / 1.189 GB, free: 13.07 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007628/0.9947, allocations: 2.616 MB / 1.192 GB, free: 10.45 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01011/1.005, allocations: 6.653 MB / 1.198 GB, free: 3.43 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003476/1.008, allocations: 1.273 MB / 1.2 GB, free: 2.137 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002538/1.011, allocations: 0.9118 MB / 1.201 GB, free: 1.219 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002686/1.014, allocations: 1.48 MB / 1.202 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.003e-05/1.014, allocations: 42.56 kB / 1.202 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=73): time 3.937e-06/1.014, allocations: 0 / 1.202 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of matching and sorting (n=107): time 0.04416/1.058, allocations: 8.251 MB / 1.21 GB, free: 7.305 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.177e-05/1.058, allocations: 90.11 kB / 1.21 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/1.059, allocations: 0.5769 MB / 1.211 GB, free: 6.609 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0003073/1.06, allocations: 41.7 kB / 1.211 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004056/1.06, allocations: 415.1 kB / 1.211 GB, free: 6.148 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005429/1.06, allocations: 374.6 kB / 1.212 GB, free: 5.777 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000709/1.061, allocations: 258.6 kB / 1.212 GB, free: 5.52 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002479/1.061, allocations: 394.7 kB / 1.212 GB, free: 5.125 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004523/1.066, allocations: 1.13 MB / 1.213 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004901/1.071, allocations: 1.456 MB / 1.215 GB, free: 2.395 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009036/1.08, allocations: 2.6 MB / 1.217 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-05/1.08, allocations: 4 kB / 1.217 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01285/1.093, allocations: 3.862 MB / 1.221 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/1.093, allocations: 10.19 kB / 1.221 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.36e-05/1.093, allocations: 12 kB / 1.221 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005058/1.098, allocations: 1.33 MB / 1.222 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002085/1.1, allocations: 459.2 kB / 1.223 GB, free: 9.949 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01586/1.116, allocations: 12.14 MB / 1.235 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002268/1.118, allocations: 311.6 kB / 1.235 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001358/1.119, allocations: 63.97 kB / 1.235 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003234/1.122, allocations: 1.322 MB / 1.236 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003021/1.125, allocations: 1.448 MB / 1.238 GB, free: 9.969 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005685/1.13, allocations: 2.577 MB / 1.24 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.531e-06/1.131, allocations: 4 kB / 1.24 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of matching and sorting (n=163) (initialization_lambda0): time 0.009714/1.14, allocations: 3.643 MB / 1.244 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/1.14, allocations: 8 kB / 1.244 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/1.14, allocations: 8 kB / 1.244 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003704/1.144, allocations: 1.057 MB / 1.245 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002074/1.146, allocations: 475.2 kB / 1.245 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01484/1.161, allocations: 11.1 MB / 1.256 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00241/1.163, allocations: 311.6 kB / 1.256 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000289/1.164, allocations: 67.97 kB / 1.256 GB, free: 5.992 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (123): * Single equations (assignments): 119 * 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): 3 systems {(2,8,100.0%), (2,8,100.0%), (3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0006001/1.164, allocations: 255.9 kB / 1.257 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003276/1.165, allocations: 90.91 kB / 1.257 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01088/1.176, allocations: 3.727 MB / 1.26 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/1.176, allocations: 16 kB / 1.26 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.629e-05/1.176, allocations: 12 kB / 1.26 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/1.176, allocations: 3.984 kB / 1.26 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01319/1.189, allocations: 5.438 MB / 1.266 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.595e-05/1.189, allocations: 8 kB / 1.266 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001583/1.19, allocations: 359.3 kB / 1.266 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004439/1.195, allocations: 1.19 MB / 1.267 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001252/1.195, allocations: 39.97 kB / 1.267 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01525/1.21, allocations: 11.63 MB / 1.279 GB, free: 14.48 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.081e-05/1.21, allocations: 15.98 kB / 1.279 GB, free: 14.46 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009898/1.22, allocations: 3.638 MB / 1.282 GB, free: 10.72 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008075/1.221, allocations: 328 kB / 1.283 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002478/1.221, allocations: 31.91 kB / 1.283 GB, free: 10.35 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00202/1.223, allocations: 311.5 kB / 1.283 GB, free: 10.04 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000313/1.224, allocations: 108.1 kB / 1.283 GB, free: 9.938 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000119/1.224, allocations: 44.44 kB / 1.283 GB, free: 9.895 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006597/1.225, allocations: 418.8 kB / 1.283 GB, free: 9.488 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.8e-07/1.225, allocations: 0 / 1.283 GB, free: 9.488 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002943/1.227, allocations: 0.6016 MB / 1.284 GB, free: 8.887 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * 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 (68): * Single equations (assignments): 64 * 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): 3 systems {(3,9,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003445/1.228, allocations: 135.2 kB / 1.284 GB, free: 8.746 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01463/1.242, allocations: 5.73 MB / 1.29 GB, free: 2.914 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.27e-05/1.243, allocations: 0 / 1.29 GB, free: 2.914 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.005358/1.248, allocations: 2.123 MB / 1.292 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001474/1.249, allocations: 162.3 kB / 1.292 GB, free: 0.582 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/1.26, allocations: 3.567 MB / 1.295 GB, free: 12.91 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/1.261, allocations: 1.11 MB / 1.297 GB, free: 11.77 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005255/1.262, allocations: 103.3 kB / 1.297 GB, free: 11.67 MB / 1.029 GB Notification: Performance of SimCode: time 3.567e-06/1.262, allocations: 0 / 1.297 GB, free: 11.67 MB / 1.029 GB Notification: Performance of Templates: time 0.04502/1.307, allocations: 29.6 MB / 1.326 GB, free: 14.05 MB / 1.061 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches