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.001826/0.001826, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001874/0.001874, allocations: 219 kB / 23.03 MB, free: 4.922 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 7.812 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 3.201/3.201, allocations: 0.5003 GB / 0.8062 GB, free: 28.24 MB / 0.6231 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.001925/0.001925, allocations: 67.94 kB / 1.17 GB, free: 19.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3429, allocations: 179 MB / 1.345 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.00748/0.3504, allocations: 4.615 MB / 1.35 GB, free: 11.31 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00462/0.355, allocations: 2.401 MB / 1.352 GB, free: 8.902 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005929/0.3556, allocations: 35.62 kB / 1.352 GB, free: 8.867 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00145/0.357, allocations: 404.2 kB / 1.353 GB, free: 8.473 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001206/0.3582, allocations: 465.7 kB / 1.353 GB, free: 8.016 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.3592, allocations: 381 kB / 1.353 GB, free: 7.645 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001325/0.3606, allocations: 0.9138 MB / 1.354 GB, free: 6.727 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006182/0.3612, allocations: 326.6 kB / 1.355 GB, free: 6.406 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000742/0.3619, allocations: 354.6 kB / 1.355 GB, free: 6.059 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007141/0.3626, allocations: 366.4 kB / 1.355 GB, free: 5.699 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001287/0.3628, allocations: 36 kB / 1.355 GB, free: 5.664 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007966/0.3636, allocations: 363.2 kB / 1.356 GB, free: 5.309 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002883/0.3639, allocations: 191.4 kB / 1.356 GB, free: 5.121 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0004311/0.3643, allocations: 262.6 kB / 1.356 GB, free: 4.863 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001402/0.3657, allocations: 0.8832 MB / 1.357 GB, free: 3.977 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.555e-06/0.3657, allocations: 4 kB / 1.357 GB, free: 3.973 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3657, allocations: 0 / 1.357 GB, free: 3.973 MB / 1.045 GB Notification: Performance of Transformations before backend: time 3.491e-05/0.3657, allocations: 4 kB / 1.357 GB, free: 3.969 MB / 1.045 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.001915/0.3676, allocations: 0.8818 MB / 1.358 GB, free: 3.051 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.3677, allocations: 8.031 kB / 1.358 GB, free: 3.043 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.279e-05/0.3677, allocations: 13.19 kB / 1.358 GB, free: 3.031 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001301/0.3679, allocations: 90.69 kB / 1.358 GB, free: 2.934 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001396/0.3692, allocations: 212.2 kB / 1.358 GB, free: 2.727 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009473/0.3702, allocations: 484.7 kB / 1.359 GB, free: 2.227 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.596e-05/0.3702, allocations: 33.38 kB / 1.359 GB, free: 2.195 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.381e-05/0.3703, allocations: 44.36 kB / 1.359 GB, free: 2.152 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/0.3717, allocations: 0.9814 MB / 1.36 GB, free: 1.012 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.923e-05/0.3718, allocations: 11.88 kB / 1.36 GB, free: 1 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.336e-05/0.3719, allocations: 23.98 kB / 1.36 GB, free: 0.9766 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001072/0.372, allocations: 64.95 kB / 1.36 GB, free: 0.9141 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009929/0.373, allocations: 0.5656 MB / 1.36 GB, free: 356 kB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005002/0.378, allocations: 4.724 MB / 1.365 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006928/0.3787, allocations: 418.3 kB / 1.365 GB, free: 11.01 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000325/0.379, allocations: 200.7 kB / 1.365 GB, free: 10.81 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.379, allocations: 4 kB / 1.365 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.379, allocations: 38.56 kB / 1.365 GB, free: 10.76 MB / 1.061 GB Notification: Performance of pre-optimization done (n=32): time 2.244e-06/0.379, allocations: 0 / 1.365 GB, free: 10.76 MB / 1.061 GB Notification: Performance of matching and sorting (n=33): time 0.002617/0.3817, allocations: 1.133 MB / 1.367 GB, free: 9.602 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.834e-05/0.3817, allocations: 55.69 kB / 1.367 GB, free: 9.535 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006445/0.3824, allocations: 0.4911 MB / 1.367 GB, free: 9.031 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.133e-05/0.3824, allocations: 29.7 kB / 1.367 GB, free: 8.996 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003139/0.3827, allocations: 371.7 kB / 1.368 GB, free: 8.629 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001395/0.3828, allocations: 119 kB / 1.368 GB, free: 8.512 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001862/0.383, allocations: 110.2 kB / 1.368 GB, free: 8.398 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001999/0.3832, allocations: 370.7 kB / 1.368 GB, free: 8.027 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003175/0.3836, allocations: 189.2 kB / 1.368 GB, free: 7.844 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000553/0.3841, allocations: 455 kB / 1.369 GB, free: 7.281 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009605/0.3851, allocations: 0.6993 MB / 1.369 GB, free: 6.465 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.3851, allocations: 4 kB / 1.369 GB, free: 6.461 MB / 1.061 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001427/0.3865, allocations: 0.8053 MB / 1.37 GB, free: 5.633 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.3865, allocations: 8 kB / 1.37 GB, free: 5.625 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/0.3865, allocations: 11.94 kB / 1.37 GB, free: 5.613 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005532/0.3871, allocations: 157 kB / 1.37 GB, free: 5.445 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004629/0.3876, allocations: 127.7 kB / 1.37 GB, free: 5.32 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00387/0.3914, allocations: 4.022 MB / 1.374 GB, free: 0.9531 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004293/0.3919, allocations: 31.97 kB / 1.374 GB, free: 0.9219 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.155e-05/0.3919, allocations: 28.31 kB / 1.374 GB, free: 0.8945 MB / 1.061 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.0003087/0.3922, allocations: 223.4 kB / 1.375 GB, free: 0.668 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.3923, allocations: 63.62 kB / 1.375 GB, free: 0.6055 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001118/0.3935, allocations: 0.6009 MB / 1.375 GB, free: 15.98 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.3935, allocations: 4 kB / 1.375 GB, free: 15.98 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.3935, allocations: 4 kB / 1.375 GB, free: 15.98 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.3935, allocations: 0 / 1.375 GB, free: 15.98 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001988/0.3955, allocations: 1.184 MB / 1.376 GB, free: 14.71 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-06/0.3955, allocations: 0 / 1.376 GB, free: 14.71 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002665/0.3957, allocations: 55.89 kB / 1.377 GB, free: 14.65 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004228/0.3962, allocations: 144.1 kB / 1.377 GB, free: 14.5 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.892e-05/0.3962, allocations: 12.22 kB / 1.377 GB, free: 14.48 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003687/0.3999, allocations: 4.022 MB / 1.381 GB, free: 10.12 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.3999, allocations: 0 / 1.381 GB, free: 10.12 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.401, allocations: 0.712 MB / 1.381 GB, free: 9.352 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002426/0.4012, allocations: 91.53 kB / 1.381 GB, free: 9.262 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.917e-05/0.4013, allocations: 8 kB / 1.381 GB, free: 9.254 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002717/0.4016, allocations: 20.12 kB / 1.381 GB, free: 9.234 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.558e-05/0.4017, allocations: 43.83 kB / 1.381 GB, free: 9.191 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.312e-05/0.4017, allocations: 8 kB / 1.381 GB, free: 9.184 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004044/0.4021, allocations: 342.8 kB / 1.382 GB, free: 8.852 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4021, allocations: 0 / 1.382 GB, free: 8.852 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007732/0.4029, allocations: 136 kB / 1.382 GB, free: 8.719 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.001511/0.4044, allocations: 1.259 MB / 1.383 GB, free: 7.395 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001501/0.4059, allocations: 0.8626 MB / 1.384 GB, free: 6.488 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.4059, allocations: 0 / 1.384 GB, free: 6.488 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009334/0.4068, allocations: 0.5723 MB / 1.385 GB, free: 5.871 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/0.4078, allocations: 208 kB / 1.385 GB, free: 5.676 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007596/0.4154, allocations: 5.116 MB / 1.39 GB, free: 172 kB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004062/0.4158, allocations: 311.5 kB / 1.39 GB, free: 15.84 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0004009/0.4162, allocations: 113.3 kB / 1.39 GB, free: 15.72 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002895/0.4165, allocations: 191.4 kB / 1.39 GB, free: 15.54 MB / 1.092 GB Notification: Performance of SimCode: time 1.683e-06/0.4165, allocations: 0 / 1.39 GB, free: 15.54 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04806/0.4646, allocations: 13.96 MB / 1.404 GB, free: 1.965 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/12.88, allocations: 1.719 kB / 1.404 GB, free: 1.965 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.74227477889508]