Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dynRC.i.1.|dynRC.i.2.|dynRL.i.1.|dynRL.i.2.|dynRC.v.1.|dynRC.v.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dynRC.i.1.|dynRC.i.2.|dynRL.i.1.|dynRL.i.2.|dynRC.v.1.|dynRC.v.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 110.6 kB / 16.37 MB, free: 6 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.001301/0.001301, allocations: 197.6 kB / 17.31 MB, free: 5.613 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.475/1.475, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.589/2.589, allocations: 437.1 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 66.62 kB / 0.8707 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3103, allocations: 151.6 MB / 1.019 GB, free: 9.84 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005236/0.3155, allocations: 3.272 MB / 1.022 GB, free: 6.551 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00311/0.3187, allocations: 1.862 MB / 1.024 GB, free: 4.68 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002135/0.3189, allocations: 11.94 kB / 1.024 GB, free: 4.668 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001046/0.32, allocations: 287.4 kB / 1.024 GB, free: 4.387 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0005867/0.3206, allocations: 215 kB / 1.024 GB, free: 4.176 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008081/0.3214, allocations: 289.5 kB / 1.025 GB, free: 3.895 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0006415/0.3221, allocations: 410.8 kB / 1.025 GB, free: 3.492 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004367/0.3225, allocations: 196.2 kB / 1.025 GB, free: 3.297 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003199/0.3228, allocations: 163.5 kB / 1.025 GB, free: 3.137 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004651/0.3233, allocations: 191.3 kB / 1.025 GB, free: 2.949 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 6.14e-05/0.3234, allocations: 31.94 kB / 1.026 GB, free: 2.918 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000503/0.3239, allocations: 235.5 kB / 1.026 GB, free: 2.688 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001601/0.3241, allocations: 115.8 kB / 1.026 GB, free: 2.574 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001682/0.3242, allocations: 147.3 kB / 1.026 GB, free: 2.43 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0005699/0.3248, allocations: 478.5 kB / 1.026 GB, free: 1.961 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.3248, allocations: 3.938 kB / 1.026 GB, free: 1.957 MB / 0.795 GB Notification: Performance of FrontEnd: time 9.82e-07/0.3248, allocations: 4 kB / 1.026 GB, free: 1.953 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.465e-06/0.3249, allocations: 0 / 1.026 GB, free: 1.953 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001003/0.3259, allocations: 0.5927 MB / 1.027 GB, free: 1.312 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.3259, allocations: 8.922 kB / 1.027 GB, free: 1.305 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007243/0.3266, allocations: 88.47 kB / 1.027 GB, free: 1.219 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004021/0.3271, allocations: 281.4 kB / 1.027 GB, free: 0.9023 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.3271, allocations: 20.92 kB / 1.027 GB, free: 0.8828 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/0.3272, allocations: 40.62 kB / 1.027 GB, free: 0.8438 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000692/0.3279, allocations: 445.1 kB / 1.028 GB, free: 384 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.3279, allocations: 3.938 kB / 1.028 GB, free: 380 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.054e-05/0.328, allocations: 12 kB / 1.028 GB, free: 368 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001333/0.3281, allocations: 44.53 kB / 1.028 GB, free: 324 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005116/0.3286, allocations: 349.9 kB / 1.028 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002371/0.331, allocations: 2.191 MB / 1.03 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004169/0.3315, allocations: 266.4 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/0.3317, allocations: 160.8 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.102e-05/0.3317, allocations: 4 kB / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.3318, allocations: 34.56 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=22): time 1.623e-06/0.3318, allocations: 0 / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of matching and sorting (n=23): time 0.001735/0.3335, allocations: 1.062 MB / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.3336, allocations: 55.34 kB / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002594/0.3339, allocations: 252.9 kB / 1.032 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.3339, allocations: 29.7 kB / 1.032 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.334, allocations: 187.9 kB / 1.032 GB, free: 11.44 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.86e-05/0.3341, allocations: 90.77 kB / 1.032 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/0.3343, allocations: 77.59 kB / 1.033 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3344, allocations: 334.8 kB / 1.033 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002228/0.3346, allocations: 151.9 kB / 1.033 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002746/0.3349, allocations: 237.5 kB / 1.033 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004995/0.3354, allocations: 411.3 kB / 1.034 GB, free: 10.08 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.3354, allocations: 4 kB / 1.034 GB, free: 10.08 MB / 0.8106 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001076/0.3365, allocations: 0.5816 MB / 1.034 GB, free: 9.488 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.3365, allocations: 11.98 kB / 1.034 GB, free: 9.477 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.3366, allocations: 8 kB / 1.034 GB, free: 9.469 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006727/0.3372, allocations: 184.9 kB / 1.034 GB, free: 9.285 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002771/0.3375, allocations: 63.89 kB / 1.034 GB, free: 9.223 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002834/0.3404, allocations: 2.492 MB / 1.037 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003344/0.3407, allocations: 19.98 kB / 1.037 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.154e-05/0.3408, allocations: 15.94 kB / 1.037 GB, free: 6.555 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002224/0.341, allocations: 161.9 kB / 1.037 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.88e-05/0.3411, allocations: 35.66 kB / 1.037 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007175/0.3418, allocations: 355.5 kB / 1.037 GB, free: 6 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.3418, allocations: 0 / 1.037 GB, free: 6 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.706e-06/0.3418, allocations: 4 kB / 1.037 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.3419, allocations: 3.984 kB / 1.037 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001603/0.3435, allocations: 0.8109 MB / 1.038 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.3435, allocations: 0 / 1.038 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005423/0.344, allocations: 75.95 kB / 1.038 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.3441, allocations: 0 / 1.038 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.307e-05/0.3441, allocations: 11.98 kB / 1.038 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.3441, allocations: 0 / 1.038 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.3441, allocations: 4 kB / 1.038 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009824/0.3451, allocations: 0.6164 MB / 1.039 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002014/0.3453, allocations: 136.8 kB / 1.039 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.801e-05/0.3454, allocations: 0 / 1.039 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002886/0.3457, allocations: 15.98 kB / 1.039 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.562e-05/0.3457, allocations: 19.92 kB / 1.039 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.393e-05/0.3458, allocations: 4 kB / 1.039 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002391/0.346, allocations: 184.5 kB / 1.039 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of sort global known variables: time 7.61e-07/0.346, allocations: 0 / 1.039 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005924/0.3466, allocations: 84 kB / 1.039 GB, free: 3.938 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002566/0.3469, allocations: 115.2 kB / 1.039 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001201/0.3481, allocations: 0.5256 MB / 1.04 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.3481, allocations: 0.625 kB / 1.04 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002873/0.3484, allocations: 155.9 kB / 1.04 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005979/0.349, allocations: 61.06 kB / 1.04 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002004/0.3511, allocations: 0.8365 MB / 1.041 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005466/0.3516, allocations: 0.7911 MB / 1.042 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002903/0.3519, allocations: 82.84 kB / 1.042 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.352, allocations: 31.42 kB / 1.042 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of SimCode: time 2.81e-07/0.352, allocations: 0 / 1.042 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of Templates: time 0.01111/0.3632, allocations: 3.967 MB / 1.046 GB, free: 13.33 MB / 0.8262 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches