Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.001684/0.001684, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.002252/0.002252, allocations: 219.6 kB / 23.01 MB, free: 4.609 MB / 14.72 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 1.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.778/2.778, allocations: 476.8 MB / 0.7714 GB, free: 4.289 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z_L.i.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z_L.i.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 68.17 kB / 1.119 GB, free: 40.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3404, allocations: 170 MB / 1.285 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005887/0.3463, allocations: 3.869 MB / 1.288 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003381/0.3497, allocations: 1.89 MB / 1.29 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002624/0.35, allocations: 19.81 kB / 1.29 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009615/0.3509, allocations: 270.7 kB / 1.291 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0007328/0.3516, allocations: 318.4 kB / 1.291 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006073/0.3523, allocations: 246.7 kB / 1.291 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007613/0.353, allocations: 0.6129 MB / 1.292 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004335/0.3534, allocations: 238.5 kB / 1.292 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004177/0.3539, allocations: 255 kB / 1.292 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003654/0.3542, allocations: 239 kB / 1.292 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.448e-05/0.3543, allocations: 24 kB / 1.292 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005048/0.3548, allocations: 283.4 kB / 1.293 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001512/0.3549, allocations: 131.5 kB / 1.293 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002136/0.3551, allocations: 214.8 kB / 1.293 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007529/0.3559, allocations: 0.5875 MB / 1.294 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3559, allocations: 4 kB / 1.294 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3559, allocations: 0 / 1.294 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.3559, allocations: 0 / 1.294 GB, free: 2.062 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001235/0.3571, allocations: 0.6736 MB / 1.294 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.3572, allocations: 12.03 kB / 1.294 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008531/0.358, allocations: 140.5 kB / 1.294 GB, free: 1.211 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006199/0.3587, allocations: 341.3 kB / 1.295 GB, free: 0.8477 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/0.3587, allocations: 25.02 kB / 1.295 GB, free: 0.8242 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.024e-05/0.3587, allocations: 28.33 kB / 1.295 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008404/0.3596, allocations: 0.5573 MB / 1.295 GB, free: 180 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.3596, allocations: 0 / 1.295 GB, free: 180 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.815e-05/0.3596, allocations: 19.92 kB / 1.295 GB, free: 160 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.031e-05/0.3597, allocations: 44.62 kB / 1.295 GB, free: 112 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007327/0.3604, allocations: 406.1 kB / 1.296 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003458/0.3639, allocations: 3.274 MB / 1.299 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007144/0.3646, allocations: 318.4 kB / 1.299 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003196/0.3649, allocations: 160.8 kB / 1.299 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.027e-05/0.365, allocations: 4 kB / 1.299 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.365, allocations: 34.56 kB / 1.299 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=26): time 1.623e-06/0.365, allocations: 4 kB / 1.299 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of matching and sorting (n=27): time 0.002122/0.3671, allocations: 0.8403 MB / 1.3 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.3672, allocations: 59.58 kB / 1.3 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003959/0.3676, allocations: 337.6 kB / 1.301 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.3676, allocations: 29.7 kB / 1.301 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/0.3678, allocations: 256.1 kB / 1.301 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.326e-05/0.3679, allocations: 95.17 kB / 1.301 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/0.368, allocations: 82.08 kB / 1.301 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001982/0.3682, allocations: 346.8 kB / 1.301 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000288/0.3685, allocations: 148.8 kB / 1.302 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004086/0.3689, allocations: 286.5 kB / 1.302 GB, free: 9.102 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007716/0.3697, allocations: 486.5 kB / 1.302 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.3697, allocations: 4 kB / 1.302 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00107/0.3708, allocations: 0.5579 MB / 1.303 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.871e-05/0.3708, allocations: 8 kB / 1.303 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.3708, allocations: 7.938 kB / 1.303 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003773/0.3712, allocations: 95.06 kB / 1.303 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003559/0.3715, allocations: 79.89 kB / 1.303 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.159e-05/0.3716, allocations: 15.92 kB / 1.303 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002576/0.3718, allocations: 31.91 kB / 1.303 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.405e-05/0.3718, allocations: 20 kB / 1.303 GB, free: 7.723 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002494/0.3721, allocations: 169.6 kB / 1.303 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.778e-05/0.3722, allocations: 47.72 kB / 1.303 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009849/0.3732, allocations: 476.2 kB / 1.304 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.3732, allocations: 7.984 kB / 1.304 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.3732, allocations: 0 / 1.304 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.3732, allocations: 0 / 1.304 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001619/0.3748, allocations: 0.935 MB / 1.305 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.3748, allocations: 0 / 1.305 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002332/0.375, allocations: 47.91 kB / 1.305 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002505/0.3753, allocations: 90.59 kB / 1.305 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.033e-05/0.3753, allocations: 8 kB / 1.305 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.3753, allocations: 0 / 1.305 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.3753, allocations: 4 kB / 1.305 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009293/0.3763, allocations: 0.5507 MB / 1.305 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001539/0.3764, allocations: 59.73 kB / 1.305 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.146e-05/0.3765, allocations: 8 kB / 1.305 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.3767, allocations: 19.97 kB / 1.305 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.412e-05/0.3768, allocations: 27.89 kB / 1.305 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.3768, allocations: 8 kB / 1.305 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002535/0.377, allocations: 239.2 kB / 1.306 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.377, allocations: 0 / 1.306 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004254/0.3775, allocations: 84 kB / 1.306 GB, free: 4.832 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000152/0.3776, allocations: 115.2 kB / 1.306 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008389/0.3784, allocations: 390.1 kB / 1.306 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3784, allocations: 0 / 1.306 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000373/0.3788, allocations: 191.6 kB / 1.306 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006954/0.3795, allocations: 125.5 kB / 1.307 GB, free: 4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.3808, allocations: 0.7715 MB / 1.307 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004781/0.3813, allocations: 0.8273 MB / 1.308 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.3814, allocations: 31.44 kB / 1.308 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/0.3814, allocations: 0 / 1.308 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of Templates: time 0.01319/0.3946, allocations: 9.5 MB / 1.317 GB, free: 8.836 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.887077107006917]