Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.VariableImpedance,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",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.001008/0.001008, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001019/0.001019, allocations: 192.8 kB / 16.25 MB, free: 6.633 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.254/1.254, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.4/2.4, allocations: 437 MB / 0.7101 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 63.91 kB / 0.8689 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5199/0.5212, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004399/0.5257, allocations: 3.79 MB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002842/0.5285, allocations: 1.785 MB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004038/0.5289, allocations: 15.88 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000892/0.5299, allocations: 247 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0007354/0.5306, allocations: 266.8 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005947/0.5312, allocations: 227.2 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000775/0.532, allocations: 0.6127 MB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005384/0.5326, allocations: 282.5 kB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000413/0.533, allocations: 235 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003353/0.5333, allocations: 243 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.844e-05/0.5334, allocations: 24 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004381/0.5338, allocations: 275.4 kB / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.534, allocations: 119.6 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002232/0.5342, allocations: 210.8 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007193/0.5349, allocations: 0.6134 MB / 1.026 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.535, allocations: 0 / 1.026 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.543e-06/0.535, allocations: 4 kB / 1.026 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.642e-05/0.535, allocations: 0 / 1.026 GB, free: 9.766 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001144/0.5361, allocations: 0.7246 MB / 1.026 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.5362, allocations: 12.03 kB / 1.026 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.954e-05/0.5363, allocations: 70.72 kB / 1.026 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008636/0.5371, allocations: 132.2 kB / 1.027 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004779/0.5376, allocations: 387.5 kB / 1.027 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.5376, allocations: 29.02 kB / 1.027 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.639e-05/0.5377, allocations: 28.38 kB / 1.027 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007605/0.5385, allocations: 0.5509 MB / 1.027 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.5385, allocations: 11.94 kB / 1.028 GB, free: 7.664 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.689e-05/0.5386, allocations: 15.98 kB / 1.028 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.634e-05/0.5386, allocations: 40.53 kB / 1.028 GB, free: 7.609 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000623/0.5392, allocations: 405.8 kB / 1.028 GB, free: 7.215 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002426/0.5417, allocations: 3.345 MB / 1.031 GB, free: 3.617 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005917/0.5423, allocations: 340.9 kB / 1.032 GB, free: 3.277 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000268/0.5426, allocations: 172.8 kB / 1.032 GB, free: 3.105 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.364e-05/0.5426, allocations: 0 / 1.032 GB, free: 3.105 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.5426, allocations: 42.56 kB / 1.032 GB, free: 3.055 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=26): time 1.302e-06/0.5426, allocations: 0 / 1.032 GB, free: 3.055 MB / 0.7794 GB Notification: Performance of matching and sorting (n=27): time 0.001845/0.5445, allocations: 1.056 MB / 1.033 GB, free: 1.93 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.5445, allocations: 59.58 kB / 1.033 GB, free: 1.859 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000294/0.5448, allocations: 341.5 kB / 1.033 GB, free: 1.52 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.5449, allocations: 29.7 kB / 1.033 GB, free: 1.484 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.545, allocations: 251.5 kB / 1.033 GB, free: 1.234 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.24e-05/0.5451, allocations: 94.59 kB / 1.034 GB, free: 1.141 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.5452, allocations: 82.05 kB / 1.034 GB, free: 1.055 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.516e-05/0.5453, allocations: 342.8 kB / 1.034 GB, free: 0.7109 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002465/0.5455, allocations: 152.8 kB / 1.034 GB, free: 0.5625 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003012/0.5458, allocations: 286.5 kB / 1.034 GB, free: 220 kB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000584/0.5464, allocations: 484.6 kB / 1.035 GB, free: 15.68 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.5464, allocations: 0 / 1.035 GB, free: 15.68 MB / 0.795 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008735/0.5473, allocations: 0.5657 MB / 1.035 GB, free: 15.1 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.5473, allocations: 8 kB / 1.035 GB, free: 15.09 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.5473, allocations: 7.984 kB / 1.035 GB, free: 15.08 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000276/0.5476, allocations: 87.08 kB / 1.035 GB, free: 14.99 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003137/0.5479, allocations: 87.88 kB / 1.036 GB, free: 14.9 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.548, allocations: 19.86 kB / 1.036 GB, free: 14.88 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002439/0.5482, allocations: 23.98 kB / 1.036 GB, free: 14.86 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.847e-05/0.5483, allocations: 19.98 kB / 1.036 GB, free: 14.84 MB / 0.795 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.0001675/0.5484, allocations: 174.2 kB / 1.036 GB, free: 14.66 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.982e-05/0.5485, allocations: 39.53 kB / 1.036 GB, free: 14.62 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007785/0.5493, allocations: 467.9 kB / 1.036 GB, free: 14.15 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.5493, allocations: 7.938 kB / 1.036 GB, free: 14.14 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.5493, allocations: 3.984 kB / 1.036 GB, free: 14.14 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.5493, allocations: 0 / 1.036 GB, free: 14.14 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001227/0.5505, allocations: 0.9598 MB / 1.037 GB, free: 13.1 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.5506, allocations: 0 / 1.037 GB, free: 13.1 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002158/0.5508, allocations: 47.91 kB / 1.037 GB, free: 13.05 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002192/0.551, allocations: 90.59 kB / 1.037 GB, free: 12.96 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.551, allocations: 4 kB / 1.037 GB, free: 12.95 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.551, allocations: 4 kB / 1.037 GB, free: 12.95 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.5511, allocations: 0 / 1.037 GB, free: 12.95 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007238/0.5518, allocations: 0.5495 MB / 1.038 GB, free: 12.37 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.5519, allocations: 140.6 kB / 1.038 GB, free: 12.21 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.826e-05/0.552, allocations: 8 kB / 1.038 GB, free: 12.2 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/0.5522, allocations: 23.91 kB / 1.038 GB, free: 12.18 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.105e-05/0.5523, allocations: 27.91 kB / 1.038 GB, free: 12.15 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.5523, allocations: 8 kB / 1.038 GB, free: 12.14 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001935/0.5525, allocations: 239.2 kB / 1.038 GB, free: 11.91 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5525, allocations: 3.938 kB / 1.038 GB, free: 11.91 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000368/0.5529, allocations: 84 kB / 1.038 GB, free: 11.82 MB / 0.795 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.0009705/0.5538, allocations: 1.092 MB / 1.039 GB, free: 10.69 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0008014/0.5546, allocations: 0.6576 MB / 1.04 GB, free: 9.965 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5547, allocations: 1.25 kB / 1.04 GB, free: 9.965 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000396/0.5551, allocations: 441.8 kB / 1.041 GB, free: 9.469 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006356/0.5557, allocations: 126.7 kB / 1.041 GB, free: 9.352 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00418/0.5599, allocations: 3.885 MB / 1.044 GB, free: 5.227 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.5602, allocations: 0.8231 MB / 1.045 GB, free: 4.379 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.000252/0.5605, allocations: 83.34 kB / 1.045 GB, free: 4.297 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/0.5606, allocations: 119.4 kB / 1.045 GB, free: 4.18 MB / 0.795 GB Notification: Performance of SimCode: time 4.01e-07/0.5606, allocations: 0 / 1.045 GB, free: 4.18 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09081/0.6514, allocations: 8.121 MB / 1.053 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001903/0.6517, allocations: 237.4 kB / 1.054 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.793/2.445, allocations: 3.75 kB / 1.054 GB, free: 12.05 MB / 0.8106 GB (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches