Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008814/0.0008814, allocations: 81.86 kB / 20.68 MB, free: 3.816 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009096/0.0009096, allocations: 185 kB / 24.09 MB, free: 416 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9366/0.9366, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.756/1.756, allocations: 359 MB / 0.6055 GB, free: 10.84 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Za.i.[0-9,]+.|Zb.i.[0-9,]+.|Zc.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Za.i.[0-9,]+.|Zb.i.[0-9,]+.|Zc.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 0.7875 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.427e-05/1.608e-05, allocations: 8.781 kB / 0.7876 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.003095/0.003111, allocations: 3.242 MB / 0.7907 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001358/0.004469, allocations: 1.188 MB / 0.7919 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.004611, allocations: 23.75 kB / 0.7919 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004294/0.005041, allocations: 128.1 kB / 0.792 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003286/0.005369, allocations: 285.7 kB / 0.7923 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002465/0.005616, allocations: 221.1 kB / 0.7925 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004589/0.006075, allocations: 0.7139 MB / 0.7932 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002633/0.006338, allocations: 226.1 kB / 0.7934 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000334/0.006672, allocations: 368.7 kB / 0.7938 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002675/0.00694, allocations: 255.2 kB / 0.794 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.613e-05/0.006976, allocations: 30.19 kB / 0.794 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.007102, allocations: 107.7 kB / 0.7941 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.951e-05/0.007201, allocations: 147.5 kB / 0.7943 GB, free: 5.293 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.007305, allocations: 151.6 kB / 0.7944 GB, free: 5.145 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000314/0.007619, allocations: 398.5 kB / 0.7948 GB, free: 4.754 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.007621, allocations: 4 kB / 0.7948 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.11e-07/0.007622, allocations: 0.5312 kB / 0.7948 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.007626, allocations: 0.7188 kB / 0.7948 GB, free: 4.75 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.00062/0.008246, allocations: 0.7897 MB / 0.7956 GB, free: 3.926 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.008279, allocations: 8.031 kB / 0.7956 GB, free: 3.918 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005782/0.008857, allocations: 212.2 kB / 0.7958 GB, free: 3.711 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003447/0.009201, allocations: 385.2 kB / 0.7962 GB, free: 3.316 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.009221, allocations: 29.36 kB / 0.7962 GB, free: 3.285 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.869e-05/0.00926, allocations: 32.38 kB / 0.7962 GB, free: 3.254 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004154/0.009675, allocations: 0.5907 MB / 0.7968 GB, free: 2.527 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.009692, allocations: 8.969 kB / 0.7968 GB, free: 2.52 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/0.009715, allocations: 16.36 kB / 0.7968 GB, free: 2.504 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.067e-05/0.009766, allocations: 61.89 kB / 0.7969 GB, free: 2.445 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001983/0.009964, allocations: 204.9 kB / 0.7971 GB, free: 2.25 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001712/0.01168, allocations: 4.158 MB / 0.8011 GB, free: 13.93 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006371/0.01231, allocations: 431.2 kB / 0.8015 GB, free: 13.48 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.82e-05/0.01238, allocations: 72.02 kB / 0.8016 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.0124, allocations: 8 kB / 0.8016 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.01242, allocations: 41.38 kB / 0.8017 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=30): time 1.523e-06/0.01243, allocations: 4.656 kB / 0.8017 GB, free: 13.33 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33): time 0.0007431/0.01317, allocations: 480 kB / 0.8021 GB, free: 12.85 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.01321, allocations: 110.8 kB / 0.8022 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002136/0.01342, allocations: 414.2 kB / 0.8026 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.01344, allocations: 33.7 kB / 0.8027 GB, free: 12.25 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.01357, allocations: 334.7 kB / 0.803 GB, free: 11.92 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 5.84e-05/0.01363, allocations: 123 kB / 0.8031 GB, free: 11.8 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.455e-05/0.01372, allocations: 111.9 kB / 0.8032 GB, free: 11.68 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.01385, allocations: 0.5247 MB / 0.8037 GB, free: 11.15 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.483e-05/0.01391, allocations: 69.19 kB / 0.8038 GB, free: 11.08 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001832/0.01409, allocations: 353 kB / 0.8041 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003357/0.01443, allocations: 468.6 kB / 0.8046 GB, free: 10.03 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/0.01444, allocations: 4 kB / 0.8046 GB, free: 10.03 MB / 0.7605 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0007332/0.01517, allocations: 476.2 kB / 0.805 GB, free: 9.543 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.01519, allocations: 9.562 kB / 0.805 GB, free: 9.535 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.0152, allocations: 12.03 kB / 0.805 GB, free: 9.523 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001849/0.01538, allocations: 78.94 kB / 0.8051 GB, free: 9.434 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.01556, allocations: 107.8 kB / 0.8052 GB, free: 9.328 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00198/0.01754, allocations: 5.171 MB / 0.8103 GB, free: 3.812 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.01767, allocations: 16 kB / 0.8103 GB, free: 3.797 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.01769, allocations: 20 kB / 0.8103 GB, free: 3.777 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001072/0.0178, allocations: 192.3 kB / 0.8105 GB, free: 3.578 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.571e-05/0.01787, allocations: 55.72 kB / 0.8105 GB, free: 3.523 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003195/0.01819, allocations: 324 kB / 0.8109 GB, free: 3.191 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.01819, allocations: 7.938 kB / 0.8109 GB, free: 3.184 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.01819, allocations: 4 kB / 0.8109 GB, free: 3.18 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.0182, allocations: 3.984 kB / 0.8109 GB, free: 3.176 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007547/0.01895, allocations: 0.978 MB / 0.8118 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.01896, allocations: 8 kB / 0.8118 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.754e-05/0.01905, allocations: 51.91 kB / 0.8119 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001314/0.01919, allocations: 79.17 kB / 0.812 GB, free: 1.965 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.0192, allocations: 15.98 kB / 0.812 GB, free: 1.949 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001784/0.02099, allocations: 5.172 MB / 0.817 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.02099, allocations: 3.938 kB / 0.817 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004081/0.0214, allocations: 0.7469 MB / 0.8178 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.421e-05/0.02147, allocations: 67.62 kB / 0.8178 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.02149, allocations: 11.98 kB / 0.8178 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.02162, allocations: 12 kB / 0.8178 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.343e-05/0.02166, allocations: 31.89 kB / 0.8179 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.02167, allocations: 12 kB / 0.8179 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001107/0.02178, allocations: 259.1 kB / 0.8181 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.02178, allocations: 7.938 kB / 0.8181 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003489/0.02213, allocations: 120 kB / 0.8183 GB, free: 11.11 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.455e-05/0.02222, allocations: 111.2 kB / 0.8184 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005234/0.02275, allocations: 0.7686 MB / 0.8191 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.02275, allocations: 0 / 0.8191 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003042/0.02305, allocations: 0.6187 MB / 0.8197 GB, free: 9.488 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004997/0.02355, allocations: 139.9 kB / 0.8198 GB, free: 9.355 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000908/0.02446, allocations: 0.8433 MB / 0.8207 GB, free: 8.43 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.777e-05/0.02455, allocations: 141.7 kB / 0.8208 GB, free: 8.27 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001075/0.02465, allocations: 56.39 kB / 0.8209 GB, free: 8.215 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001772/0.02483, allocations: 174.1 kB / 0.821 GB, free: 8.043 MB / 0.7761 GB Notification: Performance of SimCode: time 4.5e-07/0.02483, allocations: 4 kB / 0.821 GB, free: 8.039 MB / 0.7761 GB Notification: Performance of Templates: time 0.007503/0.03233, allocations: 6.338 MB / 0.8272 GB, free: 1.828 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.852290406823158]