Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001222/0.001222, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.01051/0.01051, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.805/1.805, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.183/3.183, allocations: 437.8 MB / 0.7121 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004035/0.0004033, allocations: 12.28 kB / 0.8729 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8647/0.8651, allocations: 153.8 MB / 1.023 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer): time 0.006862/0.8721, allocations: 4.729 MB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.007861/0.88, allocations: 3.998 MB / 1.032 GB, free: 7.027 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009634/0.881, allocations: 11.88 kB / 1.032 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005792/0.8816, allocations: 91.31 kB / 1.032 GB, free: 6.926 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0027/0.8843, allocations: 0.6265 MB / 1.032 GB, free: 6.297 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001778/0.8861, allocations: 438.8 kB / 1.033 GB, free: 5.871 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003034/0.8892, allocations: 1.411 MB / 1.034 GB, free: 4.453 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002009/0.8912, allocations: 0.6769 MB / 1.035 GB, free: 3.742 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001141/0.8924, allocations: 338.6 kB / 1.035 GB, free: 3.41 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001296/0.8937, allocations: 490.1 kB / 1.036 GB, free: 2.93 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.000254/0.894, allocations: 32 kB / 1.036 GB, free: 2.898 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002657/0.8966, allocations: 0.9824 MB / 1.037 GB, free: 1.914 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0007397/0.8974, allocations: 271.2 kB / 1.037 GB, free: 1.648 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0007485/0.8982, allocations: 371.7 kB / 1.037 GB, free: 1.277 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002589/0.9008, allocations: 1.306 MB / 1.038 GB, free: 15.97 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.9008, allocations: 0 / 1.038 GB, free: 15.97 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.645e-06/0.9008, allocations: 0 / 1.038 GB, free: 15.97 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.34e-05/0.9008, allocations: 0 / 1.038 GB, free: 15.97 MB / 0.795 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.002175/0.903, allocations: 0.9431 MB / 1.039 GB, free: 14.98 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.9031, allocations: 12.03 kB / 1.039 GB, free: 14.96 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009968/0.913, allocations: 1.638 MB / 1.041 GB, free: 13.32 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/0.9142, allocations: 0.5505 MB / 1.041 GB, free: 12.73 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.453e-05/0.9142, allocations: 57.66 kB / 1.042 GB, free: 12.68 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001799/0.9144, allocations: 60.36 kB / 1.042 GB, free: 12.62 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005166/0.9196, allocations: 1.848 MB / 1.043 GB, free: 10.7 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.9196, allocations: 0 / 1.043 GB, free: 10.7 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/0.9198, allocations: 27.98 kB / 1.043 GB, free: 10.67 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002296/0.92, allocations: 109.4 kB / 1.044 GB, free: 10.56 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008336/0.9283, allocations: 2.495 MB / 1.046 GB, free: 8.062 MB / 0.795 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.01014/0.9385, allocations: 6.361 MB / 1.052 GB, free: 1.301 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004017/0.9425, allocations: 1.39 MB / 1.054 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002834/0.9454, allocations: 0.9031 MB / 1.054 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003031/0.9485, allocations: 2.158 MB / 1.057 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.682e-05/0.9485, allocations: 46.56 kB / 1.057 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=69): time 4.499e-06/0.9485, allocations: 0 / 1.057 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of matching and sorting (n=93): time 0.02662/0.9752, allocations: 6.776 MB / 1.063 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001395/0.9753, allocations: 195.9 kB / 1.063 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008346/0.9762, allocations: 0.5251 MB / 1.064 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001963/0.9764, allocations: 37.7 kB / 1.064 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003521/0.9767, allocations: 394.7 kB / 1.064 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003699/0.9771, allocations: 319.4 kB / 1.065 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001944/0.9773, allocations: 101.7 kB / 1.065 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002173/0.9775, allocations: 378.8 kB / 1.065 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003132/0.9807, allocations: 1.013 MB / 1.066 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003371/0.9841, allocations: 1.302 MB / 1.067 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006432/0.9905, allocations: 2.308 MB / 1.07 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.9905, allocations: 4 kB / 1.07 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.01111/1.002, allocations: 3.364 MB / 1.073 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003527/1.002, allocations: 343.8 kB / 1.073 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.035e-05/1.002, allocations: 12 kB / 1.073 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004687/1.007, allocations: 1.096 MB / 1.074 GB, free: 10 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002293/1.009, allocations: 467.9 kB / 1.075 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01297/1.022, allocations: 8.96 MB / 1.083 GB, free: 60 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002511/1.025, allocations: 307.5 kB / 1.084 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002012/1.025, allocations: 59.95 kB / 1.084 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/1.025, allocations: 4.062 kB / 1.084 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009906/1.035, allocations: 3.055 MB / 1.087 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.221e-05/1.035, allocations: 8 kB / 1.087 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003471/1.038, allocations: 0.7635 MB / 1.088 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002708/1.041, allocations: 495.2 kB / 1.088 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01127/1.052, allocations: 6.93 MB / 1.095 GB, free: 4.027 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002422/1.055, allocations: 303.5 kB / 1.095 GB, free: 3.73 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001506/1.055, allocations: 63.95 kB / 1.095 GB, free: 3.668 MB / 0.8419 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.0006592/1.056, allocations: 360.7 kB / 1.095 GB, free: 3.305 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003099/1.056, allocations: 71.09 kB / 1.096 GB, free: 3.234 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01018/1.066, allocations: 3.125 MB / 1.099 GB, free: 84 kB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.467e-05/1.066, allocations: 12 kB / 1.099 GB, free: 72 kB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.889e-05/1.066, allocations: 4 kB / 1.099 GB, free: 68 kB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-05/1.066, allocations: 7.984 kB / 1.099 GB, free: 60 kB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01308/1.079, allocations: 5.021 MB / 1.104 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-05/1.08, allocations: 11.98 kB / 1.104 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001792/1.081, allocations: 359.4 kB / 1.104 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005674/1.087, allocations: 1.002 MB / 1.105 GB, free: 9.523 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002555/1.087, allocations: 31.97 kB / 1.105 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01585/1.103, allocations: 8.677 MB / 1.113 GB, free: 280 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.796e-06/1.103, allocations: 4 kB / 1.113 GB, free: 276 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01385/1.117, allocations: 3.27 MB / 1.117 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009045/1.118, allocations: 311.9 kB / 1.117 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001665/1.118, allocations: 23.98 kB / 1.117 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001942/1.12, allocations: 299.5 kB / 1.117 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003206/1.121, allocations: 83.77 kB / 1.117 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/1.121, allocations: 43.97 kB / 1.117 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005774/1.121, allocations: 378.8 kB / 1.118 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4.448e-06/1.121, allocations: 0 / 1.118 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002077/1.123, allocations: 0.5117 MB / 1.118 GB, free: 11.26 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (66): * Single equations (assignments): 62 * 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 Backend phase and start with SimCode phase: time 0.0003/1.124, allocations: 139 kB / 1.118 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01366/1.137, allocations: 4.842 MB / 1.123 GB, free: 6.184 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/1.137, allocations: 0 / 1.123 GB, free: 6.184 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.004388/1.142, allocations: 1.741 MB / 1.125 GB, free: 4.391 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001421/1.143, allocations: 125.1 kB / 1.125 GB, free: 4.27 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01107/1.154, allocations: 3.585 MB / 1.128 GB, free: 0.5938 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/1.155, allocations: 1.044 MB / 1.129 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.002301/1.158, allocations: 0.4945 MB / 1.13 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003641/1.158, allocations: 83.38 kB / 1.13 GB, free: 14.94 MB / 0.8887 GB Notification: Performance of SimCode: time 1.583e-06/1.158, allocations: 3.938 kB / 1.13 GB, free: 14.94 MB / 0.8887 GB Notification: Performance of Templates: time 0.04171/1.2, allocations: 20.54 MB / 1.15 GB, free: 10.44 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches