Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001075/0.001075, allocations: 193.3 kB / 16.14 MB, free: 6.652 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.211/1.211, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.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.283/2.283, allocations: 437 MB / 0.7099 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 63.91 kB / 0.8687 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5022/0.5034, allocations: 151.6 MB / 1.017 GB, free: 2.848 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005386/0.5088, allocations: 4.869 MB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003055/0.5119, allocations: 2.475 MB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001893/0.5121, allocations: 23.81 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000901/0.513, allocations: 362.5 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006152/0.5136, allocations: 418 kB / 1.025 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005571/0.5142, allocations: 339.8 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0008056/0.515, allocations: 1.132 MB / 1.026 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004628/0.5155, allocations: 351.3 kB / 1.026 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002851/0.5158, allocations: 298.7 kB / 1.027 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003317/0.5161, allocations: 358.4 kB / 1.027 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.973e-05/0.5162, allocations: 28 kB / 1.027 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005874/0.5168, allocations: 0.4912 MB / 1.028 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001416/0.5169, allocations: 167.5 kB / 1.028 GB, free: 7.539 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002369/0.5172, allocations: 302.2 kB / 1.028 GB, free: 7.242 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007451/0.5179, allocations: 0.882 MB / 1.029 GB, free: 6.359 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.5179, allocations: 0 / 1.029 GB, free: 6.359 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.01e-07/0.5179, allocations: 7.938 kB / 1.029 GB, free: 6.352 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.5179, allocations: 0 / 1.029 GB, free: 6.352 MB / 0.7794 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.001123/0.5191, allocations: 0.9309 MB / 1.03 GB, free: 5.371 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.5191, allocations: 12.03 kB / 1.03 GB, free: 5.359 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.341e-05/0.5192, allocations: 90.7 kB / 1.03 GB, free: 5.262 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/0.5203, allocations: 207.7 kB / 1.03 GB, free: 5.059 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005303/0.5209, allocations: 498.3 kB / 1.031 GB, free: 4.531 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/0.5209, allocations: 41.36 kB / 1.031 GB, free: 4.492 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.939e-05/0.521, allocations: 40.38 kB / 1.031 GB, free: 4.453 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009022/0.5219, allocations: 0.8446 MB / 1.031 GB, free: 3.477 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.5219, allocations: 11.84 kB / 1.031 GB, free: 3.465 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.567e-05/0.522, allocations: 23.98 kB / 1.031 GB, free: 3.441 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.032e-05/0.5221, allocations: 64.95 kB / 1.032 GB, free: 3.375 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007244/0.5228, allocations: 0.5656 MB / 1.032 GB, free: 2.812 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003456/0.5263, allocations: 5.654 MB / 1.038 GB, free: 12.76 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000561/0.5268, allocations: 458.7 kB / 1.038 GB, free: 12.3 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002729/0.5271, allocations: 225.3 kB / 1.038 GB, free: 12.08 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.5271, allocations: 11.98 kB / 1.038 GB, free: 12.07 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.5272, allocations: 38.5 kB / 1.038 GB, free: 12.02 MB / 0.795 GB Notification: Performance of pre-optimization done (n=32): time 1.403e-06/0.5272, allocations: 0 / 1.038 GB, free: 12.02 MB / 0.795 GB Notification: Performance of matching and sorting (n=33): time 0.002193/0.5294, allocations: 1.499 MB / 1.04 GB, free: 10.41 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.5294, allocations: 55.69 kB / 1.04 GB, free: 10.34 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004176/0.5298, allocations: 0.491 MB / 1.04 GB, free: 9.836 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.5299, allocations: 33.7 kB / 1.04 GB, free: 9.797 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001867/0.5301, allocations: 354.8 kB / 1.041 GB, free: 9.445 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.111e-05/0.5301, allocations: 118.4 kB / 1.041 GB, free: 9.328 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.5303, allocations: 110.2 kB / 1.041 GB, free: 9.215 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.5304, allocations: 366.8 kB / 1.041 GB, free: 8.848 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002581/0.5307, allocations: 193.2 kB / 1.041 GB, free: 8.656 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003753/0.531, allocations: 447.3 kB / 1.042 GB, free: 8.105 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006839/0.5317, allocations: 0.6954 MB / 1.043 GB, free: 7.293 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.5317, allocations: 7.938 kB / 1.043 GB, free: 7.285 MB / 0.795 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00111/0.5329, allocations: 0.8132 MB / 1.043 GB, free: 6.449 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.5329, allocations: 8 kB / 1.043 GB, free: 6.441 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.5329, allocations: 8 kB / 1.043 GB, free: 6.434 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004344/0.5333, allocations: 156.4 kB / 1.044 GB, free: 6.266 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003886/0.5337, allocations: 127.7 kB / 1.044 GB, free: 6.141 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002582/0.5363, allocations: 4.028 MB / 1.048 GB, free: 1.715 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002925/0.5366, allocations: 31.97 kB / 1.048 GB, free: 1.684 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.596e-05/0.5367, allocations: 32.16 kB / 1.048 GB, free: 1.652 MB / 0.795 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.0001961/0.5369, allocations: 213.5 kB / 1.048 GB, free: 1.434 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.867e-05/0.537, allocations: 63.25 kB / 1.048 GB, free: 1.371 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008988/0.5379, allocations: 0.6006 MB / 1.048 GB, free: 0.75 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.5379, allocations: 4 kB / 1.048 GB, free: 0.7461 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.5379, allocations: 3.938 kB / 1.048 GB, free: 0.7422 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.5379, allocations: 3.984 kB / 1.049 GB, free: 0.7383 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001523/0.5394, allocations: 1.257 MB / 1.05 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.5394, allocations: 4 kB / 1.05 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002276/0.5397, allocations: 59.89 kB / 1.05 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003688/0.5401, allocations: 148.3 kB / 1.05 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.291e-05/0.5401, allocations: 8 kB / 1.05 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002497/0.5426, allocations: 4.028 MB / 1.054 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5426, allocations: 0 / 1.054 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008411/0.5434, allocations: 0.7088 MB / 1.055 GB, free: 9.969 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001564/0.5436, allocations: 164.3 kB / 1.055 GB, free: 9.789 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.994e-05/0.5437, allocations: 11.98 kB / 1.055 GB, free: 9.777 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.5439, allocations: 23.97 kB / 1.055 GB, free: 9.754 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.918e-05/0.544, allocations: 35.91 kB / 1.055 GB, free: 9.719 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.544, allocations: 8 kB / 1.055 GB, free: 9.711 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000286/0.5443, allocations: 334.8 kB / 1.055 GB, free: 9.387 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5443, allocations: 0 / 1.055 GB, free: 9.387 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005113/0.5448, allocations: 140 kB / 1.055 GB, free: 9.25 MB / 0.8106 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.001078/0.5459, allocations: 1.26 MB / 1.056 GB, free: 7.93 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001197/0.5471, allocations: 1.036 MB / 1.057 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5471, allocations: 0 / 1.057 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000717/0.5478, allocations: 0.7384 MB / 1.058 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008439/0.5487, allocations: 195.1 kB / 1.058 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005322/0.554, allocations: 5.397 MB / 1.064 GB, free: 24 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003864/0.5544, allocations: 0.9058 MB / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002875/0.5547, allocations: 121.2 kB / 1.065 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002137/0.5549, allocations: 195.4 kB / 1.065 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of SimCode: time 4.21e-07/0.5549, allocations: 3.938 kB / 1.065 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5451/1.1, allocations: 12.15 MB / 1.077 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002052/1.1, allocations: 234.7 kB / 1.077 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.111/3.211, allocations: 4.062 kB / 1.077 GB, free: 2.613 MB / 0.8262 GB (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches