Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001705/0.001705, allocations: 111.9 kB / 16.42 MB, free: 6.441 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.001559/0.001559, allocations: 190.7 kB / 17.35 MB, free: 5.703 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.553/1.553, 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 9.1.3-maint.9.1.x/package.mo): time 2.341/2.341, allocations: 390.2 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001647, allocations: 67.89 kB / 0.9515 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.059/1.061, allocations: 140.4 MB / 1.089 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull): time 0.006577/1.068, allocations: 5.365 MB / 1.094 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.006872/1.075, allocations: 4.08 MB / 1.098 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007773/1.075, allocations: 19.56 kB / 1.098 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001777/1.077, allocations: 0.5891 MB / 1.098 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002352/1.08, allocations: 0.686 MB / 1.099 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001687/1.081, allocations: 0.5282 MB / 1.1 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001748/1.083, allocations: 1.144 MB / 1.101 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007089/1.084, allocations: 438.8 kB / 1.101 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008222/1.085, allocations: 462.9 kB / 1.102 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009083/1.086, allocations: 0.5346 MB / 1.102 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001363/1.086, allocations: 65.12 kB / 1.102 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002161/1.088, allocations: 0.8438 MB / 1.103 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0006179/1.089, allocations: 335.3 kB / 1.103 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0006681/1.089, allocations: 428 kB / 1.104 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002832/1.092, allocations: 1.403 MB / 1.105 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/1.092, allocations: 1.438 kB / 1.105 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.704e-06/1.092, allocations: 0 / 1.105 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.619e-05/1.092, allocations: 0 / 1.105 GB, free: 11.83 MB / 0.8731 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.002555/1.095, allocations: 1.152 MB / 1.106 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/1.095, allocations: 8.25 kB / 1.106 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01095/1.106, allocations: 1.713 MB / 1.108 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001679/1.107, allocations: 0.6454 MB / 1.109 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.059e-05/1.107, allocations: 45.25 kB / 1.109 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001829/1.108, allocations: 71.97 kB / 1.109 GB, free: 10.49 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005327/1.113, allocations: 1.918 MB / 1.111 GB, free: 9.895 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.333e-05/1.113, allocations: 6.172 kB / 1.111 GB, free: 9.891 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001399/1.113, allocations: 31.5 kB / 1.111 GB, free: 9.867 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000466/1.114, allocations: 154.2 kB / 1.111 GB, free: 9.852 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008934/1.123, allocations: 2.618 MB / 1.113 GB, free: 9.32 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01314/1.136, allocations: 6.648 MB / 1.12 GB, free: 4.855 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00385/1.14, allocations: 1.275 MB / 1.121 GB, free: 4.484 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002969/1.143, allocations: 0.9056 MB / 1.122 GB, free: 4.262 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002883/1.146, allocations: 1.485 MB / 1.123 GB, free: 3.305 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/1.146, allocations: 46.55 kB / 1.123 GB, free: 3.254 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=73): time 2.735e-06/1.146, allocations: 0 / 1.123 GB, free: 3.254 MB / 0.8731 GB Notification: Performance of matching and sorting (n=107): time 0.03274/1.178, allocations: 8.236 MB / 1.131 GB, free: 1.312 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.325e-05/1.178, allocations: 93.72 kB / 1.132 GB, free: 1.215 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/1.18, allocations: 0.5746 MB / 1.132 GB, free: 0.9531 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002397/1.18, allocations: 45.64 kB / 1.132 GB, free: 0.9062 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003502/1.18, allocations: 414.1 kB / 1.133 GB, free: 0.5703 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005211/1.181, allocations: 377 kB / 1.133 GB, free: 268 kB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007245/1.181, allocations: 257 kB / 1.133 GB, free: 124 kB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0003436/1.182, allocations: 395.3 kB / 1.133 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003744/1.186, allocations: 1.119 MB / 1.135 GB, free: 15.19 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003736/1.189, allocations: 1.462 MB / 1.136 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006898/1.196, allocations: 2.596 MB / 1.139 GB, free: 12.63 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.94e-05/1.196, allocations: 2.594 kB / 1.139 GB, free: 12.63 MB / 0.8887 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01282/1.209, allocations: 3.879 MB / 1.142 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.309e-05/1.209, allocations: 8.938 kB / 1.142 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.911e-05/1.209, allocations: 10.56 kB / 1.142 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005768/1.215, allocations: 1.323 MB / 1.144 GB, free: 9.969 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002609/1.218, allocations: 466 kB / 1.144 GB, free: 9.801 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01928/1.237, allocations: 12.13 MB / 1.156 GB, free: 368 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002811/1.24, allocations: 305.3 kB / 1.156 GB, free: 224 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003799/1.24, allocations: 73.67 kB / 1.156 GB, free: 196 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004166/1.244, allocations: 1.319 MB / 1.158 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004234/1.249, allocations: 1.445 MB / 1.159 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007588/1.256, allocations: 2.576 MB / 1.162 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.304e-05/1.256, allocations: 4.188 kB / 1.162 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of matching and sorting (n=163) (initialization_lambda0): time 0.01225/1.269, allocations: 3.64 MB / 1.165 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/1.269, allocations: 9.312 kB / 1.165 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.611e-05/1.269, allocations: 9.75 kB / 1.165 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004227/1.273, allocations: 1.054 MB / 1.166 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002677/1.276, allocations: 479.2 kB / 1.167 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0169/1.293, allocations: 11.1 MB / 1.177 GB, free: 0.7969 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002836/1.295, allocations: 311.6 kB / 1.178 GB, free: 0.4922 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003691/1.296, allocations: 63.97 kB / 1.178 GB, free: 440 kB / 0.9044 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.0007578/1.297, allocations: 255.9 kB / 1.178 GB, free: 176 kB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000449/1.297, allocations: 87 kB / 1.178 GB, free: 88 kB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01188/1.309, allocations: 3.735 MB / 1.182 GB, free: 12.32 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.804e-05/1.309, allocations: 7.922 kB / 1.182 GB, free: 12.31 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/1.309, allocations: 7.938 kB / 1.182 GB, free: 12.3 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001086/1.31, allocations: 332 kB / 1.182 GB, free: 11.96 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004034/1.311, allocations: 23.84 kB / 1.182 GB, free: 11.93 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00226/1.313, allocations: 303.5 kB / 1.182 GB, free: 11.64 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004801/1.313, allocations: 104.8 kB / 1.182 GB, free: 11.54 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01163/1.325, allocations: 3.707 MB / 1.186 GB, free: 7.805 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01034/1.335, allocations: 3.811 MB / 1.19 GB, free: 3.969 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003052/1.338, allocations: 1.143 MB / 1.191 GB, free: 2.82 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.000817/1.339, allocations: 414.8 kB / 1.191 GB, free: 2.414 MB / 0.92 GB Notification: Performance of Backend: time 7.52e-07/1.339, allocations: 4 kB / 1.191 GB, free: 2.41 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01567/1.355, allocations: 5.188 MB / 1.196 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of SimCode: time 0.004458/1.359, allocations: 2.367 MB / 1.199 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of Templates: time 0.06775/1.427, allocations: 40.85 MB / 1.239 GB, free: 1.953 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches