Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.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.ACACTransformer,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.ACACTransformer") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer,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.ACACTransformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 109.7 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.001378/0.001378, allocations: 192.3 kB / 17.35 MB, free: 5.715 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.492/1.492, allocations: 222.9 MB / 241.1 MB, free: 15.13 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.316/2.316, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 63.89 kB / 0.9516 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.066/1.067, allocations: 140.4 MB / 1.089 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer): time 0.006717/1.074, allocations: 5.105 MB / 1.094 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.006799/1.081, allocations: 4.02 MB / 1.098 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007414/1.082, allocations: 14.09 kB / 1.098 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001883/1.084, allocations: 0.5741 MB / 1.098 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00246/1.086, allocations: 0.6909 MB / 1.099 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001715/1.088, allocations: 456.5 kB / 1.099 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001699/1.09, allocations: 1.01 MB / 1.1 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007774/1.09, allocations: 409.1 kB / 1.101 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007251/1.091, allocations: 416.2 kB / 1.101 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008929/1.092, allocations: 492.6 kB / 1.101 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001401/1.092, allocations: 58.25 kB / 1.102 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002144/1.094, allocations: 0.8142 MB / 1.102 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004545/1.095, allocations: 305.5 kB / 1.103 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0005134/1.095, allocations: 381.4 kB / 1.103 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002862/1.098, allocations: 1.286 MB / 1.104 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/1.098, allocations: 0.7969 kB / 1.104 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.985e-06/1.098, allocations: 0 / 1.104 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.064e-05/1.098, allocations: 4 kB / 1.104 GB, free: 12.27 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: 181 * Number of variables: 181 Notification: Performance of Generate backend data structure: time 0.002661/1.101, allocations: 1.071 MB / 1.105 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/1.101, allocations: 10.17 kB / 1.105 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01059/1.112, allocations: 1.634 MB / 1.107 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001634/1.113, allocations: 0.5688 MB / 1.107 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.425e-05/1.113, allocations: 46.64 kB / 1.107 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001813/1.113, allocations: 65.48 kB / 1.108 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00562/1.119, allocations: 1.843 MB / 1.109 GB, free: 10.44 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.998e-05/1.119, allocations: 5 kB / 1.109 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001281/1.119, allocations: 28.23 kB / 1.109 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002679/1.12, allocations: 108.1 kB / 1.109 GB, free: 10.4 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008981/1.129, allocations: 2.488 MB / 1.112 GB, free: 9.914 MB / 0.8731 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01111/1.14, allocations: 6.343 MB / 1.118 GB, free: 5.352 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004171/1.144, allocations: 1.375 MB / 1.119 GB, free: 4.871 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002996/1.147, allocations: 0.9109 MB / 1.12 GB, free: 4.613 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003286/1.15, allocations: 2.144 MB / 1.122 GB, free: 2.973 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/1.15, allocations: 45.16 kB / 1.122 GB, free: 2.926 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=69): time 2.886e-06/1.15, allocations: 0 / 1.122 GB, free: 2.926 MB / 0.8731 GB Notification: Performance of matching and sorting (n=93): time 0.0266/1.177, allocations: 6.616 MB / 1.129 GB, free: 1.301 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001411/1.177, allocations: 191.8 kB / 1.129 GB, free: 1.082 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/1.178, allocations: 0.5161 MB / 1.13 GB, free: 0.8281 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001814/1.178, allocations: 44.98 kB / 1.13 GB, free: 0.7812 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003776/1.179, allocations: 393.6 kB / 1.13 GB, free: 468 kB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004249/1.179, allocations: 330.8 kB / 1.13 GB, free: 204 kB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000578/1.18, allocations: 253.3 kB / 1.131 GB, free: 92 kB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002673/1.18, allocations: 378.5 kB / 1.131 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003716/1.184, allocations: 1.01 MB / 1.132 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003806/1.188, allocations: 1.294 MB / 1.133 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006798/1.194, allocations: 2.281 MB / 1.135 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/1.194, allocations: 6.938 kB / 1.135 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.01071/1.205, allocations: 3.32 MB / 1.139 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.57e-05/1.205, allocations: 9.188 kB / 1.139 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.499e-05/1.205, allocations: 11.52 kB / 1.139 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004332/1.21, allocations: 1.04 MB / 1.14 GB, free: 11.62 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002381/1.212, allocations: 462.5 kB / 1.14 GB, free: 11.46 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01248/1.224, allocations: 9.673 MB / 1.15 GB, free: 3.375 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002626/1.227, allocations: 305 kB / 1.15 GB, free: 3.23 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001729/1.227, allocations: 57.5 kB / 1.15 GB, free: 3.215 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003556/1.231, allocations: 1.194 MB / 1.151 GB, free: 2.57 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003366/1.234, allocations: 1.277 MB / 1.152 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006392/1.241, allocations: 2.268 MB / 1.155 GB, free: 388 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.538e-06/1.241, allocations: 1.188 kB / 1.155 GB, free: 388 kB / 0.8887 GB Notification: Performance of matching and sorting (n=152) (initialization_lambda0): time 0.01007/1.251, allocations: 3.077 MB / 1.158 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/1.251, allocations: 12.22 kB / 1.158 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.88e-05/1.251, allocations: 7.75 kB / 1.158 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002992/1.254, allocations: 0.7455 MB / 1.158 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002464/1.256, allocations: 487.8 kB / 1.159 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008596/1.265, allocations: 7.197 MB / 1.166 GB, free: 8.227 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002587/1.268, allocations: 300.1 kB / 1.166 GB, free: 8.086 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001753/1.268, allocations: 61.94 kB / 1.166 GB, free: 8.066 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (124): * Single equations (assignments): 120 * 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,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0005259/1.268, allocations: 259.6 kB / 1.166 GB, free: 7.82 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003033/1.269, allocations: 70.75 kB / 1.166 GB, free: 7.785 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01014/1.279, allocations: 3.062 MB / 1.169 GB, free: 6.094 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.203e-05/1.279, allocations: 5.078 kB / 1.169 GB, free: 6.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/1.279, allocations: 2.438 kB / 1.169 GB, free: 6.09 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007959/1.28, allocations: 309.5 kB / 1.17 GB, free: 5.844 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002993/1.28, allocations: 18.52 kB / 1.17 GB, free: 5.832 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002138/1.282, allocations: 282.4 kB / 1.17 GB, free: 5.699 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002651/1.282, allocations: 85.27 kB / 1.17 GB, free: 5.652 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01021/1.293, allocations: 3.429 MB / 1.173 GB, free: 3.699 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009251/1.302, allocations: 3.647 MB / 1.177 GB, free: 1.238 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002792/1.305, allocations: 1.006 MB / 1.178 GB, free: 232 kB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006013/1.305, allocations: 366.8 kB / 1.178 GB, free: 15.87 MB / 0.92 GB Notification: Performance of Backend: time 4.31e-07/1.305, allocations: 4 kB / 1.178 GB, free: 15.87 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01209/1.317, allocations: 4.236 MB / 1.183 GB, free: 11.54 MB / 0.92 GB Notification: Performance of SimCode: time 0.003145/1.321, allocations: 2.023 MB / 1.184 GB, free: 9.469 MB / 0.92 GB Notification: Performance of Templates: time 0.05083/1.371, allocations: 35.06 MB / 1.219 GB, free: 6.426 MB / 0.9512 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches