Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.001332/0.001332, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.001441/0.001441, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.502/1.502, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.976/2.976, allocations: 0.5003 GB / 0.8026 GB, free: 6.898 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="cs",version="2.0",platforms={"static"}) [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.002127/0.002127, allocations: 63.91 kB / 1.165 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9124/0.9146, allocations: 178.9 MB / 1.34 GB, free: 16.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005458/0.92, allocations: 4.926 MB / 1.345 GB, free: 12.86 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00368/0.9237, allocations: 2.513 MB / 1.347 GB, free: 11.14 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004915/0.9242, allocations: 35.06 kB / 1.347 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001205/0.9254, allocations: 405.2 kB / 1.348 GB, free: 10.88 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001195/0.9266, allocations: 464.2 kB / 1.348 GB, free: 10.61 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.9276, allocations: 375.4 kB / 1.349 GB, free: 10.43 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001248/0.9289, allocations: 0.9177 MB / 1.35 GB, free: 10 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000527/0.9294, allocations: 290.5 kB / 1.35 GB, free: 9.879 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006412/0.93, allocations: 351.3 kB / 1.35 GB, free: 9.734 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005346/0.9306, allocations: 365.2 kB / 1.35 GB, free: 9.582 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.837e-05/0.9306, allocations: 38.34 kB / 1.351 GB, free: 9.582 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007971/0.9314, allocations: 416.1 kB / 1.351 GB, free: 9.441 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001975/0.9316, allocations: 189 kB / 1.351 GB, free: 9.355 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003272/0.932, allocations: 313.3 kB / 1.351 GB, free: 9.172 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001347/0.9333, allocations: 0.8914 MB / 1.352 GB, free: 8.848 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.9333, allocations: 0 / 1.352 GB, free: 8.848 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.744e-06/0.9333, allocations: 0 / 1.352 GB, free: 8.848 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.55e-05/0.9333, allocations: 0 / 1.352 GB, free: 8.848 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.00142/0.9347, allocations: 0.9604 MB / 1.353 GB, free: 8.121 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.9348, allocations: 9.812 kB / 1.353 GB, free: 8.121 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.406e-05/0.9348, allocations: 16.83 kB / 1.353 GB, free: 8.117 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.781e-05/0.9349, allocations: 94.17 kB / 1.353 GB, free: 8.047 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001398/0.9363, allocations: 205 kB / 1.353 GB, free: 8 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008971/0.9372, allocations: 0.5353 MB / 1.354 GB, free: 7.648 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.132e-05/0.9372, allocations: 42.66 kB / 1.354 GB, free: 7.625 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.101e-05/0.9373, allocations: 50.33 kB / 1.354 GB, free: 7.605 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.9384, allocations: 0.8556 MB / 1.355 GB, free: 7.012 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.894e-05/0.9385, allocations: 7.828 kB / 1.355 GB, free: 7.008 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.372e-05/0.9385, allocations: 20.09 kB / 1.355 GB, free: 6.996 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001201/0.9386, allocations: 66.34 kB / 1.355 GB, free: 6.984 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009291/0.9396, allocations: 0.5638 MB / 1.356 GB, free: 6.781 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004162/0.9437, allocations: 5.65 MB / 1.361 GB, free: 1.66 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007473/0.9445, allocations: 427 kB / 1.362 GB, free: 1.5 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003265/0.9448, allocations: 205.7 kB / 1.362 GB, free: 1.426 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.786e-05/0.9448, allocations: 2.75 kB / 1.362 GB, free: 1.426 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.9449, allocations: 37.3 kB / 1.362 GB, free: 1.383 MB / 1.061 GB Notification: Performance of pre-optimization done (n=32): time 2.595e-06/0.9449, allocations: 0 / 1.362 GB, free: 1.383 MB / 1.061 GB Notification: Performance of matching and sorting (n=33): time 0.002677/0.9475, allocations: 1.508 MB / 1.363 GB, free: 452 kB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.9476, allocations: 59.09 kB / 1.363 GB, free: 384 kB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006018/0.9482, allocations: 0.4894 MB / 1.364 GB, free: 144 kB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.451e-05/0.9482, allocations: 30.89 kB / 1.364 GB, free: 108 kB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002908/0.9485, allocations: 361.7 kB / 1.364 GB, free: 15.81 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.9486, allocations: 126.5 kB / 1.364 GB, free: 15.71 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001861/0.9488, allocations: 112.3 kB / 1.364 GB, free: 15.65 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001991/0.949, allocations: 364.1 kB / 1.365 GB, free: 15.32 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003344/0.9494, allocations: 200.6 kB / 1.365 GB, free: 15.25 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00053/0.9499, allocations: 445.4 kB / 1.365 GB, free: 14.86 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009227/0.9508, allocations: 0.6964 MB / 1.366 GB, free: 14.32 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.9508, allocations: 3.375 kB / 1.366 GB, free: 14.32 MB / 1.076 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001481/0.9523, allocations: 0.8061 MB / 1.367 GB, free: 13.96 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.9523, allocations: 9.375 kB / 1.367 GB, free: 13.96 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/0.9523, allocations: 12.17 kB / 1.367 GB, free: 13.96 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005506/0.9529, allocations: 153.6 kB / 1.367 GB, free: 13.89 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004808/0.9534, allocations: 122.1 kB / 1.367 GB, free: 13.88 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003941/0.9573, allocations: 4.343 MB / 1.371 GB, free: 9.602 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005889/0.9579, allocations: 37.39 kB / 1.371 GB, free: 9.59 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.121e-05/0.958, allocations: 35.45 kB / 1.371 GB, free: 9.578 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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.0003967/0.9584, allocations: 213.5 kB / 1.372 GB, free: 9.41 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/0.9585, allocations: 65.73 kB / 1.372 GB, free: 9.375 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001226/0.9598, allocations: 0.6052 MB / 1.372 GB, free: 9.094 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.9598, allocations: 4.094 kB / 1.372 GB, free: 9.094 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.9598, allocations: 1.281 kB / 1.372 GB, free: 9.094 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.9598, allocations: 3.031 kB / 1.372 GB, free: 9.094 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002177/0.962, allocations: 1.262 MB / 1.373 GB, free: 8.379 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.962, allocations: 1.312 kB / 1.373 GB, free: 8.379 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002835/0.9622, allocations: 56.03 kB / 1.374 GB, free: 8.375 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004726/0.9627, allocations: 149.8 kB / 1.374 GB, free: 8.301 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.306e-05/0.9628, allocations: 8.672 kB / 1.374 GB, free: 8.297 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003776/0.9665, allocations: 4.337 MB / 1.378 GB, free: 4.016 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.9665, allocations: 3.297 kB / 1.378 GB, free: 4.016 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.9677, allocations: 0.7127 MB / 1.379 GB, free: 3.59 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002976/0.968, allocations: 166.1 kB / 1.379 GB, free: 3.453 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.666e-05/0.9681, allocations: 12.58 kB / 1.379 GB, free: 3.445 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003016/0.9684, allocations: 22.7 kB / 1.379 GB, free: 3.441 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.121e-05/0.9685, allocations: 31.41 kB / 1.379 GB, free: 3.434 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/0.9685, allocations: 13.06 kB / 1.379 GB, free: 3.43 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004215/0.9689, allocations: 337.3 kB / 1.379 GB, free: 3.273 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.9689, allocations: 0 / 1.379 GB, free: 3.273 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007273/0.9697, allocations: 138.2 kB / 1.379 GB, free: 3.262 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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 0.001479/0.9711, allocations: 1.255 MB / 1.381 GB, free: 2.305 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001596/0.9727, allocations: 1.015 MB / 1.382 GB, free: 1.594 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.9727, allocations: 1.5 kB / 1.382 GB, free: 1.594 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009376/0.9737, allocations: 0.7223 MB / 1.382 GB, free: 0.9844 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.9748, allocations: 211.9 kB / 1.382 GB, free: 0.9141 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00733/0.9821, allocations: 5.106 MB / 1.387 GB, free: 13.63 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006219/0.9827, allocations: 0.9013 MB / 1.388 GB, free: 12.92 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0004157/0.9831, allocations: 121.8 kB / 1.388 GB, free: 12.89 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002862/0.9834, allocations: 190.8 kB / 1.389 GB, free: 12.75 MB / 1.092 GB Notification: Performance of SimCode: time 7.71e-07/0.9834, allocations: 3.938 kB / 1.389 GB, free: 12.75 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05239/1.036, allocations: 12.85 MB / 1.401 GB, free: 10.33 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.62, allocations: 16.39 kB / 1.401 GB, free: 10.32 MB / 1.092 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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: 19.15410372201586]